mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fix possible incorrect display of uploaded total in details tab.
This commit is contained in:
parent
8de21c82ae
commit
1b5bfaaad1
1 changed files with 1 additions and 7 deletions
|
@ -154,12 +154,6 @@ class DetailsTabManager(object):
|
|||
self.total_downloaded.set_text('%s (%s)' % \
|
||||
(common.fsize(state["total_done"]),
|
||||
common.fsize(state["total_payload_download"])))
|
||||
try:
|
||||
self.total_uploaded.set_text('%s (%s)' % \
|
||||
(common.fsize(self.manager.unique_IDs[unique_id].initial_uploaded_memory+\
|
||||
state["total_payload_upload"]),
|
||||
common.fsize(state["total_payload_upload"])))
|
||||
except AttributeError:
|
||||
self.total_uploaded.set_text('%s (%s)' % \
|
||||
(common.fsize(self.manager.unique_IDs[unique_id].uploaded_memory+\
|
||||
state["total_payload_upload"]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue