small syntax error fixed
This commit is contained in:
parent
9085406aad
commit
ca5b02ec07
|
@ -42,7 +42,7 @@ def urldownload(confurl = ""):
|
|||
break
|
||||
file_size_dl += len(buffer)
|
||||
f.write(buffer)
|
||||
status = r"%10d [%3.2f%%]" % (file_size_dl), file_size_dl * 100. / file_size)
|
||||
status = r"%10d [%3.2f%%]" % (file_size_dl, file_size_dl * 100. / file_size)
|
||||
status = status + chr(8)*(len(status)+1)
|
||||
print status,
|
||||
f.close()
|
||||
|
|
Loading…
Reference in New Issue