Removed id from torrent print

This commit is contained in:
2022-11-28 15:29:01 +01:00
parent 8f2327c065
commit adf8f3f1ef
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
__version__ = '0.3.4'
__version__ = '0.3.5'
if __name__ == '__main__':
print(__version__)

View File

@@ -44,5 +44,5 @@ class Torrent(object):
return json.dumps(torrentDict)
def __str__(self):
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)
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)