We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6525d0a commit 35e6953Copy full SHA for 35e6953
pyZUnivers/user.py
@@ -214,7 +214,7 @@ def get_advent_calendar(username: str):
214
index_date = int(datetime.now(pytz.timezone('Europe/Paris')).strftime("%d")) - 1
215
today_calendar = calendar[index_date]
216
217
- return today_calendar["openedDate"] != None
+ return 'openedDate' in today_calendar
218
219
@staticmethod
220
def get_advent_score(username: str) -> int:
0 commit comments