mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Update save_config.py to use environ instead of settings
The code changes in save_config.py update the loop that iterates over the settings dictionary to instead iterate over the environ dictionary. This change ensures that the custom configurations are correctly appended to the custom_confs list. The previous implementation was using the incorrect dictionary, leading to incorrect behavior. This commit fixes the issue by using the correct dictionary.
This commit is contained in:
parent
5bbefc7b3f
commit
93f9b53a55
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ if __name__ == "__main__":
|
|||
)
|
||||
|
||||
custom_confs = []
|
||||
for k, v in settings.items():
|
||||
for k, v in environ.items():
|
||||
if CUSTOM_CONF_RX.match(k):
|
||||
custom_conf = CUSTOM_CONF_RX.search(k)
|
||||
custom_confs.append(
|
||||
|
|
|
|||
Loading…
Reference in a new issue