Skip to content

Commit

Permalink
Fix project import with mounted volumes in Docker (#1727)
Browse files Browse the repository at this point in the history
  • Loading branch information
cskaandorp committed Apr 24, 2024
1 parent 78bb8c8 commit e309644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asreview/project.py
Expand Up @@ -690,8 +690,8 @@ def load(cls, asreview_file, project_path, safe_import=False):
f.truncate()

# location to copy file to
# Move the project from the temp folder to the projects folder.
os.replace(tmpdir, Path(project_path, project_config["id"]))
# Copy the project from the temp folder to the projects folder.
shutil.copytree(tmpdir, Path(project_path, project_config["id"]))

return cls(Path(project_path, project_config["id"]))

Expand Down

0 comments on commit e309644

Please sign in to comment.