We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f0ee8 commit 56d8b8bCopy full SHA for 56d8b8b
mergin/client_pull.py
@@ -413,7 +413,8 @@ def pull_project_async(mc, directory):
413
# then we just download the whole file
414
_pulling_file_with_diffs = lambda f: "diffs" in f and len(f["diffs"]) != 0
415
416
- temp_dir = mp.fpath_meta(f"fetch_{local_version}-{server_version}")
+ temp_dir_mergin = os.path.join(tempfile.gettempdir(), f"mergin-{mp.project_id()}")
417
+ temp_dir = os.path.join(temp_dir_mergin, f"fetch_{local_version}-{server_version}")
418
os.makedirs(temp_dir, exist_ok=True)
419
pull_changes = mp.get_pull_changes(server_info["files"])
420
mp.log.debug("pull changes:\n" + pprint.pformat(pull_changes))
0 commit comments