Skip to content

Commit

Permalink
Merge pull request #19 from luissilva1044894/master
Browse files Browse the repository at this point in the history
Fixes #18
  • Loading branch information
malmeloo authored Feb 5, 2023
2 parents 83bb3b1 + 3b750de commit c55962a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riitag/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, **kwargs):
self.id = kwargs.get('user', {}).get('id')
self.games = kwargs.get('game_data', {}).get('games', [])

last_played = kwargs.get('game_data', {}).get('last_played', {})
last_played = kwargs.get('game_data', {}).get('last_played') or {}
self.last_played = RiitagGame(**last_played)

self.outdated = False
Expand Down

0 comments on commit c55962a

Please sign in to comment.