1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fixed saving general settings rootDir error

This commit is contained in:
echel0n 2014-09-06 16:35:10 -07:00
parent 1ed552d0a6
commit 610d1af4f0

View File

@ -1477,7 +1477,7 @@ class ConfigGeneral(MainHandler):
handle_reverse_proxy=None, sort_article=None, auto_update=None, notify_on_update=None,
proxy_setting=None, anon_redirect=None, git_path=None, calendar_unprotected=None,
fuzzy_dating=None, trim_zero=None, date_preset=None, date_preset_na=None, time_preset=None,
indexer_timeout=None, play_videos=None):
indexer_timeout=None, play_videos=None, rootDir=None):
results = []
@ -1488,6 +1488,7 @@ class ConfigGeneral(MainHandler):
sickbeard.AUTO_UPDATE = config.checkbox_to_value(auto_update)
sickbeard.NOTIFY_ON_UPDATE = config.checkbox_to_value(notify_on_update)
# sickbeard.LOG_DIR is set in config.change_LOG_DIR()
sickbeard.ROOT_DIRS = rootDir
sickbeard.UPDATE_SHOWS_ON_START = config.checkbox_to_value(update_shows_on_start)
config.change_UPDATE_FREQUENCY(update_frequency)