Actually fix console spam

This commit is contained in:
Thomas Rubini 2023-04-02 12:28:23 +02:00
parent d156955554
commit cd1c829273
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -26,7 +26,7 @@ def cleanup():
games_to_delete.append(game_id)
for game_id in games_to_delete:
del game_logic.games_list[game_id]
if os.getenv("DISCORD_BOT_TOKEN") != "":
if os.getenv("DISCORD_BOT_TOKEN"):
discord_bot.update_games_presence()