From 97d86253c89fe3dc37cc4ec8a09327072cb8a39c Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Thu, 24 Nov 2022 00:17:42 +0100 Subject: [PATCH] Include id when printing torrent --- delugeClient/torrent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/delugeClient/torrent.py b/delugeClient/torrent.py index c9ac71b..c60ce81 100644 --- a/delugeClient/torrent.py +++ b/delugeClient/torrent.py @@ -44,5 +44,5 @@ class Torrent(object): return json.dumps(torrentDict) def __str__(self): - return "{} Progress: {}% ETA: {} State: {} Paused: {}".format( - self.name[:59].ljust(60), self.progress.rjust(5), self.eta.rjust(11), self.state.ljust(12), self.paused) \ No newline at end of file + return "{} {} Progress: {}% ETA: {} State: {} Paused: {}".format( + self.key, self.name[:59].ljust(60), self.progress.rjust(5), self.eta.rjust(11), self.state.ljust(12), self.paused) \ No newline at end of file