ajout commande protondb

This commit is contained in:
Kepka Ludovic
2025-08-15 15:55:07 +02:00
committed by skylanix
parent b614e3238f
commit 488c49e42e
4 changed files with 76 additions and 39 deletions

View File

@@ -20,5 +20,7 @@ def updateConfiguration():
# 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)
if (request.form.get("proton_db_api_id") != None and request.form.get("proton_db_enable_enable") == None) :
ConfigurationHelper().createOrUpdate('proton_db_enable_enable', False)
db.session.commit()
return redirect(url_for('openConfigurations'))