From 94e6dc07d879d314e745838e92573a4e63d2ab80 Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Sun, 2 Apr 2023 00:24:38 +0200 Subject: [PATCH] learned to program in python --- truthinquiry/routes/routes_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truthinquiry/routes/routes_api.py b/truthinquiry/routes/routes_api.py index b001663..e608cc2 100644 --- a/truthinquiry/routes/routes_api.py +++ b/truthinquiry/routes/routes_api.py @@ -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") is not "": + if os.getenv("DISCORD_BOT_TOKEN") != "": discord_bot.update_games_presence()