mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-09 09:59:51 +01:00
Quick fix for issue #47
For some reason the sizes list is empty with the mirror "www.piratefly.com"
This commit is contained in:
parent
d094a973a6
commit
6417770108
@ -353,8 +353,7 @@ def print_search_results(mags, sizes, uploaded, local):
|
||||
content = [m, torrent_name[:columns]]
|
||||
else:
|
||||
no_seeders, no_leechers = map(int, magnet[1:])
|
||||
size = float(sizes[m][0])
|
||||
unit = sizes[m][1]
|
||||
size, unit = (float(sizes[m][0]), sizes[m][1]) if sizes else (0, '???')
|
||||
date = uploaded[m]
|
||||
|
||||
# compute the S/L ratio (Higher is better)
|
||||
|
Loading…
Reference in New Issue
Block a user