From 9f03d9130711f3be24fe59887d9a79ad9bfdb0b6 Mon Sep 17 00:00:00 2001 From: Kepka Ludovic Date: Sat, 13 Sep 2025 09:09:04 +0200 Subject: [PATCH] Suppression humble bundle api key --- discordbot/humblebundle.py | 2 +- webapp/templates/configurations.html | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/discordbot/humblebundle.py b/discordbot/humblebundle.py index f1887a8..7c5ebe5 100644 --- a/discordbot/humblebundle.py +++ b/discordbot/humblebundle.py @@ -11,7 +11,7 @@ from discord import Client def _isEnable(): helper = ConfigurationHelper() - return helper.getValue('humble_bundle_enable') and helper.getIntValue('humble_bundle_channel') != 0 and helper.getValue('humble_bundle_api_key') + return helper.getValue('humble_bundle_enable') and helper.getIntValue('humble_bundle_channel') != 0 def _callGithub(): response = requests.get("https://raw.githubusercontent.com/shionn/HumbleBundleGamePack/refs/heads/master/data/game-bundles.json") diff --git a/webapp/templates/configurations.html b/webapp/templates/configurations.html index c43917c..c8c43f3 100644 --- a/webapp/templates/configurations.html +++ b/webapp/templates/configurations.html @@ -53,8 +53,6 @@ {{channel.name}} {% endfor %} - - {% endblock %} \ No newline at end of file