fixed cl-install flash

master
idziubenko 3 years ago
parent 667112d919
commit dcc9cb852d

@ -118,7 +118,7 @@ def progressCopyFile(source, dest):
size = int(os.lstat(source).st_size)
bufsize = (100 - (size % 100) + size) // 100
with open(source, 'rb') as infile:
with open(dest, 'w') as outfile:
with open(dest, 'wb') as outfile:
for i in range(1, 101):
outfile.write(infile.read(bufsize))
yield i

Loading…
Cancel
Save