Remove some cruft.
This commit is contained in:
parent
4c2ec1b8fb
commit
9bb58d498c
@ -151,13 +151,6 @@ class Torrent:
|
|||||||
self.state = TORRENT_STATE[state]
|
self.state = TORRENT_STATE[state]
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def get_save_info(self):
|
|
||||||
"""Returns the state of this torrent for saving to the session state"""
|
|
||||||
status = self.handle.status()
|
|
||||||
return (self.torrent_id, self.filename, self.compact, status.paused,
|
|
||||||
self.save_path, self.total_uploaded + status.total_payload_upload,
|
|
||||||
self.trackers)
|
|
||||||
|
|
||||||
def get_eta(self):
|
def get_eta(self):
|
||||||
"""Returns the ETA in seconds for this torrent"""
|
"""Returns the ETA in seconds for this torrent"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user