Fix new warnings from pylint upgrade
This commit is contained in:
parent
c32f9faaa0
commit
acae063652
6 changed files with 21 additions and 26 deletions
|
@ -225,4 +225,4 @@ def get_goal_status(user, year):
|
|||
if goal.privacy != "public":
|
||||
return None
|
||||
|
||||
return dict(**goal.progress, **{"goal": goal.goal})
|
||||
return {**goal.progress, **{"goal": goal.goal}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue