Fix file progress percentages again

This commit is contained in:
Andrew Resch 2008-07-15 02:17:39 +00:00
parent 516945277e
commit 02ce32d5e2
1 changed files with 2 additions and 2 deletions

View File

@ -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):