Skip to content

Commit

Permalink
fix 3.10 -> 3.9 py syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Firebird1029 committed Mar 17, 2024
1 parent d8374a5 commit 9ac7dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/flask_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class FlaskSessionStorage(SyncSupportedStorage):
def __init__(self):
self.storage = session

def get_item(self, key: str) -> str | None:
def get_item(self, key: str):
if key in self.storage:
return self.storage[key]
return None
Expand Down

0 comments on commit 9ac7dc9

Please sign in to comment.