mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fixes issue with proxy setting and config not saving.
This commit is contained in:
parent
4a0acde729
commit
6d3f66aa4d
@ -114,6 +114,8 @@ WEB_PASSWORD = None
|
||||
WEB_HOST = None
|
||||
WEB_IPV6 = None
|
||||
|
||||
PROXY_SETTING = None
|
||||
|
||||
LOCALHOST_IP = None
|
||||
ANON_REDIRECT = None
|
||||
|
||||
@ -1302,7 +1304,7 @@ def save_config():
|
||||
new_config['General']['launch_browser'] = int(LAUNCH_BROWSER)
|
||||
new_config['General']['update_shows_on_start'] = int(UPDATE_SHOWS_ON_START)
|
||||
new_config['General']['sort_article'] = int(SORT_ARTICLE)
|
||||
new_config['General']['proxy_setting'] = PROXY_SETTING if PROXY_SETTING else ''
|
||||
new_config['General']['proxy_setting'] = PROXY_SETTING
|
||||
|
||||
new_config['General']['use_listview'] = int(USE_LISTVIEW)
|
||||
new_config['General']['metadata_xbmc'] = METADATA_XBMC
|
||||
|
@ -976,7 +976,7 @@ class ConfigGeneral:
|
||||
def saveGeneral(self, log_dir=None, web_port=None, web_log=None, encryption_version=None, web_ipv6=None,
|
||||
update_shows_on_start=None, launch_browser=None, web_username=None, use_api=None, api_key=None,
|
||||
web_password=None, version_notify=None, enable_https=None, https_cert=None, https_key=None,
|
||||
sort_article=None, auto_update=None, proxy_settings=None,
|
||||
sort_article=None, auto_update=None, proxy_setting=None,
|
||||
anon_redirect=None, git_path=None, calendar_unprotected=None, date_preset=None, time_preset=None):
|
||||
|
||||
results = []
|
||||
@ -991,7 +991,7 @@ class ConfigGeneral:
|
||||
sickbeard.LAUNCH_BROWSER = config.checkbox_to_value(launch_browser)
|
||||
sickbeard.SORT_ARTICLE = config.checkbox_to_value(sort_article)
|
||||
sickbeard.ANON_REDIRECT = anon_redirect
|
||||
sickbeard.PROXY_SETTINGS = proxy_settings
|
||||
sickbeard.PROXY_SETTINGS = proxy_setting
|
||||
sickbeard.GIT_PATH = git_path
|
||||
sickbeard.CALENDAR_UNPROTECTED = config.checkbox_to_value(calendar_unprotected)
|
||||
# sickbeard.LOG_DIR is set in config.change_LOG_DIR()
|
||||
|
Loading…
Reference in New Issue
Block a user