Merge branch 'main' into dev

This commit is contained in:
JackDandy 2024-08-12 00:19:37 +01:00
commit 3cabf3f9d7
4 changed files with 8 additions and 3 deletions

View file

@ -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.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) ### 3.32.4 (2024-08-10 11:40:00 UTC)
* Change person cards to not display "eps" when number of eps is unknown * Change person cards to not display "eps" when number of eps is unknown

View file

@ -1511,7 +1511,7 @@ def init_stage_1(console_logging):
# Get expected config version # Get expected config version
CONFIG_VERSION = max(ConfigMigrator(CFG).migration_names) CONFIG_VERSION = max(ConfigMigrator(CFG).migration_names)
if update_config: if update_config:
save_config() _save_config(force=True)
# start up all the threads # start up all the threads
old_log = os.path.join(LOG_DIR, 'sickgear.log') old_log = os.path.join(LOG_DIR, 'sickgear.log')

View file

@ -581,7 +581,7 @@ class ConfigMigrator(object):
# save new config after migration # save new config after migration
sickgear.CONFIG_VERSION = self.config_version sickgear.CONFIG_VERSION = self.config_version
logger.log('Saving config file to disk') logger.log('Saving config file to disk')
sickgear.save_config() sickgear._save_config()
@staticmethod @staticmethod
def deprecate_anon_service(): def deprecate_anon_service():

View file

@ -624,7 +624,7 @@ class Add1080pAndRawHDQualities(db.SchemaUpgrade):
# update the default quality so we dont grab the wrong qualities after migration # update the default quality so we dont grab the wrong qualities after migration
sickgear.QUALITY_DEFAULT = self._update_composite_qualities(sickgear.QUALITY_DEFAULT) 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 # upgrade previous HD to HD720p -- shift previous qualities to new placevalues
old_hd = common.Quality.combine_qualities( old_hd = common.Quality.combine_qualities(