mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-25 09:03:41 +01:00
Add header
This commit is contained in:
parent
172bdfef48
commit
4c3e7e227d
@ -59,6 +59,7 @@ def print_ssv():
|
|||||||
sorted_torrents = sorted(
|
sorted_torrents = sorted(
|
||||||
qbt_client.torrents_info(), key=lambda d: d.ratio, reverse=True
|
qbt_client.torrents_info(), key=lambda d: d.ratio, reverse=True
|
||||||
)
|
)
|
||||||
|
print("Name Size # of Trackers Ratio Uploaded")
|
||||||
for torrent in sorted_torrents:
|
for torrent in sorted_torrents:
|
||||||
name = torrent.name
|
name = torrent.name
|
||||||
size = human_bytes(torrent.total_size)
|
size = human_bytes(torrent.total_size)
|
||||||
|
Loading…
Reference in New Issue
Block a user