Skip to content

Commit e326457

Browse files
committed
Remove unnecessary flush()
close() implies flush()
1 parent ac31af9 commit e326457

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rsub.py

-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def on_done(self):
100100
try:
101101
temp_file = open(self.temp_path, "wb+")
102102
temp_file.write(self.file[:self.file_size])
103-
temp_file.flush()
104103
temp_file.close()
105104
except IOError as e:
106105
# Remove the file if it exists.

0 commit comments

Comments
 (0)