Skip to content
Snippets Groups Projects
Commit 8dd3baf1 authored by Ronald Jäpel's avatar Ronald Jäpel
Browse files

Fix opening type bug

parent 216a83e0
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ from cadetrdm.io_utils import delete_path ...@@ -26,7 +26,7 @@ from cadetrdm.io_utils import delete_path
def validate_is_output_repo(path_to_repo): def validate_is_output_repo(path_to_repo):
with open(os.path.join(path_to_repo, ".cadet-rdm-data.json", "r")) as file_handle: with open(os.path.join(path_to_repo, ".cadet-rdm-data.json"), "r") as file_handle:
rdm_data = json.load(file_handle) rdm_data = json.load(file_handle)
if rdm_data["is_project_repo"]: if rdm_data["is_project_repo"]:
raise ValueError("Please use the URL to the output repository.") raise ValueError("Please use the URL to the output repository.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment