mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-10 19:35:08 -05:00
Fixed saving general settings rootDir error
This commit is contained in:
parent
1ed552d0a6
commit
610d1af4f0
@ -1477,7 +1477,7 @@ class ConfigGeneral(MainHandler):
|
|||||||
handle_reverse_proxy=None, sort_article=None, auto_update=None, notify_on_update=None,
|
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,
|
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,
|
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 = []
|
results = []
|
||||||
|
|
||||||
@ -1488,6 +1488,7 @@ class ConfigGeneral(MainHandler):
|
|||||||
sickbeard.AUTO_UPDATE = config.checkbox_to_value(auto_update)
|
sickbeard.AUTO_UPDATE = config.checkbox_to_value(auto_update)
|
||||||
sickbeard.NOTIFY_ON_UPDATE = config.checkbox_to_value(notify_on_update)
|
sickbeard.NOTIFY_ON_UPDATE = config.checkbox_to_value(notify_on_update)
|
||||||
# sickbeard.LOG_DIR is set in config.change_LOG_DIR()
|
# 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)
|
sickbeard.UPDATE_SHOWS_ON_START = config.checkbox_to_value(update_shows_on_start)
|
||||||
config.change_UPDATE_FREQUENCY(update_frequency)
|
config.change_UPDATE_FREQUENCY(update_frequency)
|
||||||
|
Loading…
Reference in New Issue
Block a user