We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a91e3a commit 4ade8b4Copy full SHA for 4ade8b4
1 file changed
server/mergin/sync/models.py
@@ -1030,7 +1030,9 @@ def construct_checkpoint(self) -> bool:
1030
return False
1031
1032
project: Project = basefile.file.project
1033
- os.makedirs(project.storage.diffs_dir, exist_ok=True)
+
1034
+ # create diffs directory if not exists and subfolders in case of diffs/subfolder/diff-file
1035
+ os.makedirs(os.path.dirname(self.abs_path), exist_ok=True)
1036
1037
try:
1038
if len(diffs_paths) == 1:
0 commit comments