Private GIT

Skip to content
Snippets Groups Projects
Commit e21b2c29 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Merge branch 'hotfix-2049'

parents 287a0ebc 681692c5
Branches
Tags
No related merge requests found
...@@ -46,7 +46,7 @@ def sortedServiceList(): ...@@ -46,7 +46,7 @@ def sortedServiceList():
for curService in sickbeard.SUBTITLES_SERVICES_LIST: for curService in sickbeard.SUBTITLES_SERVICES_LIST:
if curService in subliminal.provider_manager.available_providers: if curService in subliminal.provider_manager.available_providers:
newList.append({'name': curService, newList.append({'name': curService,
'url': provider_urls[curService] if curService in provider_urls else lmgtfy % curService, 'url': provider_urls[curService] if curService in provider_urls else (lmgtfy % curService),
'image': curService + '.png', 'image': curService + '.png',
'enabled': sickbeard.SUBTITLES_SERVICES_ENABLED[curIndex] == 1 'enabled': sickbeard.SUBTITLES_SERVICES_ENABLED[curIndex] == 1
}) })
...@@ -55,7 +55,7 @@ def sortedServiceList(): ...@@ -55,7 +55,7 @@ def sortedServiceList():
for curService in subliminal.provider_manager.available_providers: for curService in subliminal.provider_manager.available_providers:
if curService not in [x['name'] for x in newList]: if curService not in [x['name'] for x in newList]:
newList.append({'name': curService, newList.append({'name': curService,
'url': provider_urls[curService] if curService in provider_urls else lmgtfy % curService, 'url': provider_urls[curService] if curService in provider_urls else (lmgtfy % curService),
'image': curService + '.png', 'image': curService + '.png',
'enabled': False, 'enabled': False,
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment