Commit 3b56918a authored by echel0n's avatar echel0n
Browse files

Fixed issue with migration of config.ini to config.db

Added code to skip config.ini migrations if config.ini.migrated exists
Added default values for config migration
parent 471da170
This diff is collapsed.
......@@ -214,7 +214,7 @@ class ConfigDB(SRDatabase):
naming_custom_anime = Column(Boolean, default=False)
naming_anime_pattern = Column(Text, default='Season %0S/%SN - S%0SE%0E - %EN')
randomize_providers = Column(Boolean, default=False)
web_host = Column(Text, default=get_lan_ip())
web_host = Column(Text, default='')
process_automatically = Column(Boolean, default=False)
git_path = Column(Text, default='git')
sync_files = Column(Text, default=','.join(['!sync', 'lftp-pget-status', 'part', 'bts', '!qb']))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment