Clean up script output

This commit is contained in:
Joey Hafner 2023-01-27 23:14:54 -08:00
parent 0528133863
commit 38a51a591e

View File

@ -10,5 +10,5 @@ torrent_list = client.torrents.info()
for torrent in torrent_list: for torrent in torrent_list:
for status in torrent.trackers: for status in torrent.trackers:
if 'Unregistered torrent' in status.msg: if 'Unregistered torrent' in status.msg:
print(torrent.name,' ',status.msg) print(torrent.name)
torrent.delete(hash=(torrent.hash),delete_files=True) torrent.delete(hash=(torrent.hash),delete_files=True)