We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 668fe0c commit ac44fc4Copy full SHA for ac44fc4
1 file changed
frameioclient/lib/download.py
@@ -44,8 +44,8 @@ def _get_session(self):
44
45
def _create_file_stub(self):
46
try:
47
- fp = open(self.destination, "wb")
48
- fp.write(b"\0" * self.file_size)
+ fp = open(self.destination, "w")
+ # fp.write(b"\0" * self.file_size) # Disabled to prevent pre-allocatation of disk space
49
fp.close()
50
except FileExistsError as e:
51
print(e)
0 commit comments