diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index d5617317f..ac37dec36 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -716,7 +716,7 @@ class Torrent(object): """ if self.status.total_done > 0: - return self.status.all_time_upload / self.status.total_wanted_done + return self.status.all_time_upload / self.status.total_done else: return -1.0