diff --git a/backend/app/main.py b/backend/app/main.py index 099d367..570c7f6 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -74,11 +74,11 @@ def settings_post(): entryquota = request.form.get("entryquota") maxqueue = request.form.get("maxqueue") if entryquota.isnumeric() and int(entryquota) > 0: - app.config['ENTRY_QUOTA'] = entryquota + app.config['ENTRY_QUOTA'] = int(entryquota) else: abort(400) if maxqueue.isnumeric and int(maxqueue) > 0: - app.config['MAX_QUEUE'] = maxqueue + app.config['MAX_QUEUE'] = int(maxqueue) else: abort(400)