mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 13:34:21 +00:00
tweak another total_done to total_wanted_done
This commit is contained in:
parent
dbe83d4ede
commit
71a5c79c15
@ -542,7 +542,7 @@ class Manager:
|
||||
if self.unique_IDs[unique_ID].compact == False:
|
||||
avail = self.calc_free_space(directory = self.unique_IDs\
|
||||
[unique_ID].save_dir)
|
||||
total_needed = torrent_state["total_wanted"] - torrent_state["total_done"]
|
||||
total_needed = torrent_state["total_wanted"] - torrent_state["total_wanted_done"]
|
||||
if total_needed < avail:
|
||||
# We have enough free space, so lets resume this torrent
|
||||
self.resume(unique_ID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user