merged python example fix from RC_0_16

This commit is contained in:
Arvid Norberg 2014-02-19 08:50:59 +00:00
parent 5e931e9f63
commit e94335ec7f
1 changed files with 1 additions and 2 deletions

View File

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