mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 01:15:05 +00:00
Fix to create initial config.ini when one doesn't exist
Fix saving config.ini during startup (update or creating)
This commit is contained in:
parent
c37a753c6a
commit
6a65cebc06
4 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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():
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue