mirror of https://github.com/evilhero/mylar
FIX:(#478) UnboundLocalError if no Newznab providers selected, FIX:(#478) Refresh Selected Comics on Manage tab gave replace error
This commit is contained in:
parent
7e58ac7433
commit
39c2817c35
|
@ -719,7 +719,7 @@ def replacetheslash(data):
|
|||
# os.path.join will pipe in the '\' in windows, which won't resolve
|
||||
# when viewing through cherrypy - so convert it and viola.
|
||||
if platform.system() == "Windows":
|
||||
slashreplaced = replace.data('\\', '/')
|
||||
slashreplaced = data.replace('\\', '/')
|
||||
else:
|
||||
slashreplaced = data
|
||||
return slashreplaced
|
||||
|
|
|
@ -227,6 +227,7 @@ def search_init(ComicName, IssueNumber, ComicYear, SeriesYear, IssueDate, IssueI
|
|||
logger.fdebug("Found via API Alternate Naming.")
|
||||
break
|
||||
else:
|
||||
newznab_host = None
|
||||
nzbprov = nzbprovider[nzbpr]
|
||||
if searchmode == 'rss':
|
||||
if mylar.ENABLE_RSS:
|
||||
|
|
Loading…
Reference in New Issue