Fixed bug eliminating valid torrents due to maxsize with waffles

This commit is contained in:
rembo10
2013-12-19 17:15:34 +00:00
parent 9023f95e71
commit 435cd780b2

View File

@@ -1005,7 +1005,7 @@ def searchTorrent(albumid=None, new=False, losslessOnly=False):
try:
title = item.title
desc_match = re.search(r"Size: (\d+)<", item.description)
size = desc_match.group(1)
size = int(desc_match.group(1))
url = item.link
resultlist.append((title, size, url, provider))
logger.info('Found %s. Size: %s' % (title, helpers.bytes_to_mb(size)))