[#2417] Add time_since_download and time_since_upload to torrent status

This commit is contained in:
Calum Lind 2014-02-11 16:52:14 +00:00
parent 2be5474f3a
commit 0531276b9b
1 changed files with 2 additions and 0 deletions

View File

@ -764,6 +764,8 @@ class Torrent(object):
"pieces": self._get_pieces_info,
"seed_mode": lambda: self.status.seed_mode,
"super_seeding": lambda: self.status.super_seeding,
"time_since_download": lambda: self.status.time_since_download,
"time_since_upload": lambda: self.status.time_since_upload,
}
def get_name(self):