From 0531276b9b9f3d03c6be4aa10ceadb82ef92458e Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 11 Feb 2014 16:52:14 +0000 Subject: [PATCH] [#2417] Add time_since_download and time_since_upload to torrent status --- deluge/core/torrent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 8c9f8c78e..5098204e1 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -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):