From c1c9a64381691532b2f67db90537789b5a4ff4c7 Mon Sep 17 00:00:00 2001 From: ErnstHaagsman Date: Wed, 18 Apr 2012 16:57:03 +0300 Subject: [PATCH] changed 'seeders' to 'seeds' in MiniNova and ISOhunt procedures --- headphones/searcher.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 877ca217..699e2c68 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -672,7 +672,7 @@ def searchTorrent(albumid=None, new=False, losslessOnly=False): logger.info('%s is larger than the maxsize, the wrong format or has to little seeders for this category, skipping. (Size: %i bytes, Seeders: %i, Format: %s)' % (title, size, int(seeders), rightformat)) except Exception, e: - logger.error(u"An unknown error occured trying to parse the feed: %s" % e) + logger.error(u"An unknown error occured in the KAT parser: %s" % e) if headphones.ISOHUNT: @@ -738,14 +738,14 @@ def searchTorrent(albumid=None, new=False, losslessOnly=False): rightformat = False except Exception, e: rightformat = False - if rightformat == True and size < maxsize and minimumseeders < seeders: + if rightformat == True and size < maxsize and minimumseeders < seeds: resultlist.append((title, size, url, provider)) logger.info('Found %s. Size: %s' % (title, helpers.bytes_to_mb(size))) else: - logger.info('%s is larger than the maxsize, the wrong format or has to little seeders for this category, skipping. (Size: %i bytes, Seeders: %i, Format: %s)' % (title, size, int(seeders), rightformat)) + logger.info('%s is larger than the maxsize, the wrong format or has to little seeders for this category, skipping. (Size: %i bytes, Seeders: %i, Format: %s)' % (title, size, int(seeds), rightformat)) except Exception, e: - logger.error(u"An unknown error occured trying to parse the feed: %s" % e) + logger.error(u"An unknown error occured in the ISOhunt parser: %s" % e) if headphones.MININOVA: provider = "Mininova" @@ -805,14 +805,14 @@ def searchTorrent(albumid=None, new=False, losslessOnly=False): rightformat = False except Exception, e: rightformat = False - if rightformat == True and size < maxsize and minimumseeders < seeders: + if rightformat == True and size < maxsize and minimumseeders < seeds: resultlist.append((title, size, url, provider)) logger.info('Found %s. Size: %s' % (title, helpers.bytes_to_mb(size))) else: - logger.info('%s is larger than the maxsize, the wrong format or has to little seeders for this category, skipping. (Size: %i bytes, Seeders: %i, Format: %s)' % (title, size, int(seeders), rightformat)) + logger.info('%s is larger than the maxsize, the wrong format or has to little seeders for this category, skipping. (Size: %i bytes, Seeders: %i, Format: %s)' % (title, size, int(seeds), rightformat)) except Exception, e: - logger.error(u"An unknown error occured trying to parse the feed: %s" % e) + logger.error(u"An unknown error occured in the MiniNova Parser: %s" % e)