Skip to content

Commit

Permalink
Fixing permissions, 4th try (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harald Wilhelmi committed Jul 23, 2024
1 parent b7a17d5 commit 4fafd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/scimodom/services/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _stream_to_file(self, data_stream, path, max_size, overwrite_is_ok=False):
self._create_folder(dirname(path))
try:
bytes_written = 0
with open(path, "wb", opener=write_opener()) as fp:
with open(path, "wb", opener=write_opener) as fp:
while True:
buffer = data_stream.read(self.BUFFER_SIZE)
if len(buffer) == 0:
Expand Down

0 comments on commit 4fafd8e

Please sign in to comment.