Skip to content

Commit

Permalink
Use fs_path to determine write_base
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiseqube committed Sep 7, 2024
1 parent bc32a5e commit 2215bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perfact/zodbsync/zodbsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def fs_write(self, path, data):
if old_data != new_data:
# Path in top layer, might be different than the one where we read
# the content
write_base = os.path.join(self.app_dir, path.lstrip('/'))
write_base = self.fs_path(path)
os.makedirs(write_base, exist_ok=True)

self.logger.debug("Will write %d bytes of metadata" % len(fmt))
Expand Down

0 comments on commit 2215bba

Please sign in to comment.