Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
littleEast7 committed Nov 4, 2024
1 parent e00f910 commit 9e729a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alluxiofs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,9 @@ def flush(self, force=False):
self.offset = 0
try:
self._initiate_upload()
except:
except Exception as e:
self.closed = True
raise
raise e

if self._upload_chunk(final=force) is not False:
self.offset += self.buffer.seek(0, 2)
Expand Down

0 comments on commit 9e729a2

Please sign in to comment.