File "discord-free-game-notifier/discord_free_game_notifier/gog.py", line 124, in get_free_gog_game_from_list
for child in games.children: # type: ignore # noqa: PGH003
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'children'
2023-06-26 at 03:20:21 ERROR Job failed: 'NoneType' object has no attribute 'children'
File "discord-free-game-notifier/discord_free_game_notifier/gog.py", line 124, in get_free_gog_game_from_list for child in games.children: # type: ignore # noqa: PGH003 ^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'children' 2023-06-26 at 03:20:21 ERROR Job failed: 'NoneType' object has no attribute 'children'
Add a check for None above this. Thanks!