Skip to content

Commit fd82bd2

Browse files
committed
fix variable
1 parent 613d0a9 commit fd82bd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mergin/client_pull.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,8 @@ def download_files_finalize(job):
872872
job.mp.log.info("--- download finished")
873873

874874
for task in job.update_tasks:
875-
task.apply(job.directory, job.mp)
875+
task.apply(job.temp_directory, job.mp)
876876

877877
# Remove temporary download directory
878-
if job.directory is not None and os.path.exists(job.directory):
879-
shutil.rmtree(job.directory)
878+
if job.temp_directory is not None and os.path.exists(job.temp_directory):
879+
shutil.rmtree(job.temp_directory)

0 commit comments

Comments
 (0)