From 708bf5cffe77df37f81a91c2cc9f4b3d1d6115b8 Mon Sep 17 00:00:00 2001 From: evilhero Date: Sun, 30 Sep 2012 03:50:27 -0400 Subject: [PATCH] fix for blackhole error --- mylar/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/search.py b/mylar/search.py index d96240e0..ff1b498d 100644 --- a/mylar/search.py +++ b/mylar/search.py @@ -367,7 +367,7 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov, nzbpr): if mylar.BLACKHOLE: if os.path.exists(mylar.BLACKHOLE_DIR): 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) ) #end blackhole