diff --git a/CHANGES.md b/CHANGES.md index 7c4d5abb..2484230d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 3.32.4 (2024-08-10 11:40:00 UTC) +### 3.32.5 (2024-08-12 00:15:00 UTC) + +* Fix to create initial config.ini when one doesn't exist + + +### 3.32.4 (2024-08-10 11:40:00 UTC) * Change person cards to not display "eps" when number of eps is unknown * Fix wrong added death dates diff --git a/sickgear/__init__.py b/sickgear/__init__.py index fe64af60..c49528ef 100644 --- a/sickgear/__init__.py +++ b/sickgear/__init__.py @@ -1511,7 +1511,7 @@ def init_stage_1(console_logging): # Get expected config version CONFIG_VERSION = max(ConfigMigrator(CFG).migration_names) if update_config: - save_config() + _save_config(force=True) # start up all the threads old_log = os.path.join(LOG_DIR, 'sickgear.log') diff --git a/sickgear/config.py b/sickgear/config.py index db12cb1f..214c021c 100644 --- a/sickgear/config.py +++ b/sickgear/config.py @@ -581,7 +581,7 @@ class ConfigMigrator(object): # save new config after migration sickgear.CONFIG_VERSION = self.config_version logger.log('Saving config file to disk') - sickgear.save_config() + sickgear._save_config() @staticmethod def deprecate_anon_service(): diff --git a/sickgear/databases/mainDB.py b/sickgear/databases/mainDB.py index b5fbcc93..da0e33cf 100644 --- a/sickgear/databases/mainDB.py +++ b/sickgear/databases/mainDB.py @@ -624,7 +624,7 @@ class Add1080pAndRawHDQualities(db.SchemaUpgrade): # update the default quality so we dont grab the wrong qualities after migration sickgear.QUALITY_DEFAULT = self._update_composite_qualities(sickgear.QUALITY_DEFAULT) - sickgear.save_config() + sickgear._save_config() # upgrade previous HD to HD720p -- shift previous qualities to new placevalues old_hd = common.Quality.combine_qualities(