mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Small typo fix
This commit is contained in:
parent
dd16da1a5f
commit
cd77da5b60
1 changed files with 10 additions and 8 deletions
|
@ -1126,14 +1126,16 @@ def initialize(consoleLogging=True):
|
||||||
showList = []
|
showList = []
|
||||||
loadingShowList = {}
|
loadingShowList = {}
|
||||||
|
|
||||||
url = 'http://raw.github.com/echel0n/sickrage-init/master/settings.ini'
|
try:
|
||||||
clear_cache = ElementTree.XML(helpers.getURL(url)).find('cache/clear').text
|
url = 'http://raw.github.com/echel0n/sickrage-init/master/settings.ini'
|
||||||
CLEAR_CACHE = check_setting_str(CFG, 'General', 'clear_cache', '')
|
clear_cache = ElementTree.XML(helpers.getURL(url)).find('cache/clear').text
|
||||||
if CLEAR_CACHE != clear_cache:
|
CLEAR_CACHE = check_setting_str(CFG, 'General', 'clear_cache', '')
|
||||||
for curProvider in [x for x in providers.sortedProviderList() if x.isActive()]:
|
if CLEAR_CACHE != clear_cache:
|
||||||
curProvider.cache._clearCache()
|
for curProvider in [x for x in providers.sortedProviderList() if x.isActive()]:
|
||||||
CLEAR_CACHE = clear_cache
|
curProvider.cache._clearCache()
|
||||||
save_config()
|
CLEAR_CACHE = clear_cache
|
||||||
|
save_config()
|
||||||
|
except:pass
|
||||||
|
|
||||||
__INITIALIZED__ = True
|
__INITIALIZED__ = True
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue