forked from premiere/premiere-libtorrent
merged python example fix from RC_0_16
This commit is contained in:
parent
5e931e9f63
commit
e94335ec7f
|
@ -301,10 +301,9 @@ def main():
|
|||
try:
|
||||
out = '\n'
|
||||
fp = h.file_progress()
|
||||
fp = 0
|
||||
ti = h.get_torrent_info()
|
||||
for f,p in zip(ti.files(), fp):
|
||||
out += progress_bar(p / f.size, 20)
|
||||
out += progress_bar(p / float(f.size), 20)
|
||||
out += ' ' + f.path + '\n'
|
||||
write_line(console, out)
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue