Skip to content

Commit

Permalink
fixed import problem
Browse files Browse the repository at this point in the history
  • Loading branch information
cskaandorp committed Apr 24, 2024
1 parent 78bb8c8 commit 3bd7a48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asreview/project.py
Original file line number Diff line number Diff line change
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 3bd7a48

Please sign in to comment.