mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-06 14:50:34 +01:00
configuration humble bundle
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user