mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-29 12:45:45 +00:00
Fix file progress percentages again
This commit is contained in:
parent
516945277e
commit
02ce32d5e2
@ -371,8 +371,8 @@ class Torrent:
|
||||
file_progress = self.handle.file_progress()
|
||||
ret = []
|
||||
for i,f in enumerate(self.files):
|
||||
ret.append(file_progress[i] / f["size"])
|
||||
|
||||
ret.append(float(file_progress[i]) / float(f["size"]))
|
||||
|
||||
return ret
|
||||
|
||||
def get_status(self, keys):
|
||||
|
Loading…
x
Reference in New Issue
Block a user