Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Baker <[email protected]>
  • Loading branch information
garrettmflynn and CodyCBakerPhD authored Feb 19, 2024
1 parent 9c6482a commit 7716713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def autocomplete_format_string(info: dict) -> str:
filesystem_entry_path = info["path"]

if not is_path_contained(filesystem_entry_path, base_directory):
raise "Path is not contained in the provided base directory."
raise ValueError("Path is not contained in the provided base directory.")

full_format_string = construct_path_template(
filesystem_entry_path,
Expand Down

0 comments on commit 7716713

Please sign in to comment.