add uploaded_memory back
This commit is contained in:
parent
3969504d24
commit
2cc373e5fe
@ -717,7 +717,7 @@ class Manager:
|
|||||||
# Calculations
|
# Calculations
|
||||||
|
|
||||||
def calc_ratio(self, unique_ID, torrent_state):
|
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"])
|
down = float(torrent_state["total_payload_download"])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user