mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-25 09:35:16 +00:00
add uploaded_memory back
This commit is contained in:
parent
3969504d24
commit
2cc373e5fe
@ -717,7 +717,7 @@ class Manager:
|
||||
# Calculations
|
||||
|
||||
def calc_ratio(self, unique_ID, torrent_state):
|
||||
up = float(torrent_state['total_payload_upload'])
|
||||
up = float(torrent_state['total_payload_upload'] + self.unique_IDs[unique_ID].uploaded_memory)
|
||||
down = float(torrent_state["total_payload_download"])
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user