Merge branch 'hotfix/3.32.6'

This commit is contained in:
JackDandy 2024-08-12 18:09:59 +01:00
commit 66c715115c
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,9 @@
### 3.32.5 (2024-08-12 00:15:00 UTC)
### 3.32.6 (2024-08-12 17:10:00 UTC)
* Fix saving config.ini after restart and startup
### 3.32.5 (2024-08-12 00:15:00 UTC)
* Fix to create initial config.ini when one doesn't exist

View file

@ -1897,7 +1897,9 @@ def save_config(force=False):
:param force: force save config even if unchanged
"""
global config_events
config_events.put(force)
# use queue if it's available, otherwise, call save_config directly
hasattr(config_events, 'put') and config_events.put(force) or _save_config(force)
def _save_config(force=False, **kwargs):