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 613d0a9 commit fd82bd2Copy full SHA for fd82bd2
mergin/client_pull.py
@@ -872,8 +872,8 @@ def download_files_finalize(job):
872
job.mp.log.info("--- download finished")
873
874
for task in job.update_tasks:
875
- task.apply(job.directory, job.mp)
+ task.apply(job.temp_directory, job.mp)
876
877
# Remove temporary download directory
878
- if job.directory is not None and os.path.exists(job.directory):
879
- shutil.rmtree(job.directory)
+ if job.temp_directory is not None and os.path.exists(job.temp_directory):
+ shutil.rmtree(job.temp_directory)
0 commit comments