mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-23 21:35:05 +00:00
Merge branch 'main' into dev
This commit is contained in:
commit
76871e8628
2 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,11 @@
|
||||||
* Update urllib3 2.2.1 (54d6edf) to 2.2.2 (27e2a5c)
|
* Update urllib3 2.2.1 (54d6edf) to 2.2.2 (27e2a5c)
|
||||||
|
|
||||||
|
|
||||||
|
### 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)
|
### 3.32.5 (2024-08-12 00:15:00 UTC)
|
||||||
|
|
||||||
* Fix to create initial config.ini when one doesn't exist
|
* Fix to create initial config.ini when one doesn't exist
|
||||||
|
|
|
@ -1897,7 +1897,9 @@ def save_config(force=False):
|
||||||
:param force: force save config even if unchanged
|
:param force: force save config even if unchanged
|
||||||
"""
|
"""
|
||||||
global config_events
|
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):
|
def _save_config(force=False, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue