configuration humble bundle

This commit is contained in:
Kepka Ludovic
2025-08-11 10:40:42 +02:00
parent 84b92f636f
commit ac7f00bd8b

View File

@@ -19,6 +19,7 @@ def openConfigurations():
def updateConfiguration():
for key in request.form :
ConfigurationHelper().createOrUpdate(key, request.form.get(key))
# Je fait ca car html n'envoi pas le parametre de checkbox quand il est décoché
if (request.form.get("humble_bundle_channel") != None and request.form.get("humble_bundle_enable") == None) :
ConfigurationHelper().createOrUpdate('humble_bundle_enable', False)
db.session.commit()