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:
Théophile Diot 2024-06-24 15:57:49 +01:00
parent 5bbefc7b3f
commit 93f9b53a55
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -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(