diff --git a/vrobbler/apps/videogames/retroarch.py b/vrobbler/apps/videogames/retroarch.py index 565ce9e..18766f7 100644 --- a/vrobbler/apps/videogames/retroarch.py +++ b/vrobbler/apps/videogames/retroarch.py @@ -161,7 +161,8 @@ def import_retroarch_lrtl_files(playlog_path: str, user_id: int) -> List[dict]: playback_position_seconds=playback_position_seconds, played_to_completion=True, in_progress=False, - timezone=timestamp.tzinfo.tzname, + timezone=getattr(timestamp.tzinfo, "key", None) + or getattr(timestamp.tzinfo, "zone", None), long_play_seconds=game_data["runtime"], long_play_complete=long_play_complete, user_id=user_id,