Suppression humble bundle api key

This commit is contained in:
Kepka Ludovic
2025-09-13 09:09:04 +02:00
parent 6158eee9b1
commit 9f03d91307
2 changed files with 1 additions and 3 deletions

View File

@@ -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")

View File

@@ -53,8 +53,6 @@
{{channel.name}}</option>
{% endfor %}
</select>
<label for="humble_bundle_api_key">Clé API</label>
<input name="humble_bundle_api_key" type="text" value="{{ configuration.getValue('humble_bundle_api_key') }}" />
<input type="Submit" value="Définir">
</form>
{% endblock %}