This commit is contained in:
richard 2013-05-01 20:56:33 +01:00
parent 0d2e91996e
commit 3b9b88e1c2

View file

@ -504,6 +504,7 @@ class Mega(object):
file_mac = [0, 0, 0, 0]
upload_progress = 0
completion_file_handle = None
for chunk_start, chunk_size in sorted(get_chunks(file_size).items()):
chunk = input_file.read(chunk_size)
upload_progress += len(chunk)