Fix error by calling a method on the wrong variable

This commit is contained in:
Théophile Diot 2022-12-13 15:45:14 +01:00
parent 1142ace55a
commit 364ef13b52
No known key found for this signature in database
GPG key ID: E752C80DB72BB014

View file

@ -432,7 +432,7 @@ def services():
# Edit check fields and remove already existing ones
config = app.config["CONFIG"].get_config()
for variable in deepcopy(variables):
if variables.endswith("_SCHEMA"):
if variable.endswith("_SCHEMA"):
del variables[variable]
continue