mirror of
https://github.com/evilhero/mylar
synced 2024-12-27 01:57:01 +00:00
fix for blackhole error
This commit is contained in:
parent
ac4ec81d7c
commit
708bf5cffe
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr):
|
||||||
if mylar.BLACKHOLE:
|
if mylar.BLACKHOLE:
|
||||||
if os.path.exists(mylar.BLACKHOLE_DIR):
|
if os.path.exists(mylar.BLACKHOLE_DIR):
|
||||||
filenamenzb = str(ComicName) + " " + str(IssueNumber) + " (" + str(comyear) + ").nzb"
|
filenamenzb = str(ComicName) + " " + str(IssueNumber) + " (" + str(comyear) + ").nzb"
|
||||||
urllib2.urlretrieve(linkapi, str(mylar.BLACKHOLE_DIR) + str(filenamenzb))
|
urllib.urlretrieve(linkapi, str(mylar.BLACKHOLE_DIR) + str(filenamenzb))
|
||||||
logger.info(u"Successfully sent .nzb to your Blackhole directory : " + str(mylar.BLACKHOLE_DIR) + str(filenamenzb) )
|
logger.info(u"Successfully sent .nzb to your Blackhole directory : " + str(mylar.BLACKHOLE_DIR) + str(filenamenzb) )
|
||||||
#end blackhole
|
#end blackhole
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue