mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Refactor global configuration error handling
This commit is contained in:
parent
f6566235ac
commit
8343ff7d55
1 changed files with 1 additions and 1 deletions
|
|
@ -857,7 +857,7 @@ def global_config():
|
|||
del variables[variable]
|
||||
|
||||
if not variables:
|
||||
return redirect_flash_error("The global configuration was not edited because all values had the default value.", "global_config", True)
|
||||
return redirect_flash_error("The global configuration was not edited because no values were changed.", "global_config", True)
|
||||
|
||||
error = app.config["CONFIG"].check_variables(variables, True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue