mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix saving config for multiple settings
This commit is contained in:
parent
a0c2db7a09
commit
e2b2505d83
1 changed files with 2 additions and 2 deletions
|
@ -430,8 +430,8 @@ class Database:
|
||||||
Services_settings.method: method,
|
Services_settings.method: method,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
elif key not in global_values:
|
elif f"{key}_{suffix}" not in global_values:
|
||||||
global_values.append(key)
|
global_values.append(f"{key}_{suffix}")
|
||||||
global_value = (
|
global_value = (
|
||||||
session.query(Global_values)
|
session.query(Global_values)
|
||||||
.with_entities(Global_values.value)
|
.with_entities(Global_values.value)
|
||||||
|
|
Loading…
Reference in a new issue