mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-10 10:04:21 +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]]
|
content = [m, torrent_name[:columns]]
|
||||||
else:
|
else:
|
||||||
no_seeders, no_leechers = map(int, magnet[1:])
|
no_seeders, no_leechers = map(int, magnet[1:])
|
||||||
size = float(sizes[m][0])
|
size, unit = (float(sizes[m][0]), sizes[m][1]) if sizes else (0, '???')
|
||||||
unit = sizes[m][1]
|
|
||||||
date = uploaded[m]
|
date = uploaded[m]
|
||||||
|
|
||||||
# compute the S/L ratio (Higher is better)
|
# compute the S/L ratio (Higher is better)
|
||||||
|
Loading…
Reference in New Issue
Block a user