1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-24 16:51:42 +00:00

FIX:(#337) nzbx.co fix for incorrect link URL's (fix for the fix that was corrected)

This commit is contained in:
evilhero 2013-04-12 00:52:01 -04:00
parent 8bfa050523
commit d3b97bc08e

View file

@ -805,8 +805,8 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr, Is
#we need to change the nzbx string now to allow for the nzbname rename. #we need to change the nzbx string now to allow for the nzbname rename.
if nzbprov == 'nzbx': if nzbprov == 'nzbx':
nzbxlink_st = linkapi.find("::::") nzbxlink_st = linkapi.find("*|*")
linkapi = linkapi[:(nzbxlink_st + 4)] + str(nzbname) linkapi = linkapi[:(nzbxlink_st + 3)] + str(nzbname)
logger.fdebug("new linkapi (this should =nzbname) :" + str(linkapi)) logger.fdebug("new linkapi (this should =nzbname) :" + str(linkapi))
# #test nzb.get # #test nzb.get