Issue #31 fix
This commit is contained in:
parent
0d2e91996e
commit
3b9b88e1c2
1 changed files with 1 additions and 0 deletions
|
@ -504,6 +504,7 @@ class Mega(object):
|
||||||
|
|
||||||
file_mac = [0, 0, 0, 0]
|
file_mac = [0, 0, 0, 0]
|
||||||
upload_progress = 0
|
upload_progress = 0
|
||||||
|
completion_file_handle = None
|
||||||
for chunk_start, chunk_size in sorted(get_chunks(file_size).items()):
|
for chunk_start, chunk_size in sorted(get_chunks(file_size).items()):
|
||||||
chunk = input_file.read(chunk_size)
|
chunk = input_file.read(chunk_size)
|
||||||
upload_progress += len(chunk)
|
upload_progress += len(chunk)
|
||||||
|
|
Loading…
Reference in a new issue