mirror of
https://github.com/KevinMidboe/delugeClient.git
synced 2025-10-29 12:00:13 +00:00
Removed id from torrent print
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
__version__ = '0.3.4'
|
__version__ = '0.3.5'
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print(__version__)
|
print(__version__)
|
||||||
|
|||||||
@@ -44,5 +44,5 @@ class Torrent(object):
|
|||||||
return json.dumps(torrentDict)
|
return json.dumps(torrentDict)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "{} {} Progress: {}% ETA: {} State: {} Paused: {}".format(
|
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)
|
self.name[:59].ljust(60), self.progress.rjust(5), self.eta.rjust(11), self.state.ljust(12), self.paused)
|
||||||
|
|||||||
Reference in New Issue
Block a user