Add header

This commit is contained in:
Jeffrey Serio 2024-11-08 08:18:39 -06:00
parent 172bdfef48
commit 4c3e7e227d

View File

@ -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)