Skip to content
Snippets Groups Projects
Commit a9933513 authored by fmk17's avatar fmk17
Browse files

Remove future Python feature

parent 5790d86e
No related branches found
No related tags found
No related merge requests found
...@@ -274,7 +274,8 @@ def get_location_by_command(command): ...@@ -274,7 +274,8 @@ def get_location_by_command(command):
), ),
(command,), (command,),
) )
return Location(*row) if (row := cur.fetchone()) is not None else None row = cur.fetchone()
return Location(*row) if row is not None else None
def get_meals_query(end_query, end_params=()): def get_meals_query(end_query, end_params=()):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment