Skip to content

Commit

Permalink
Fix a potential identifier bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricrupb committed Dec 3, 2024
1 parent e8cc331 commit 0ac6d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextpy/ai/tools/toolkits/file_toolkit/file/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def run(
destination_path_ = self.get_relative_path(destination_path)
except FileValidationError:
return INVALID_PATH_TEMPLATE.format(
arg_name="destination_path_", value=destination_path_
arg_name="destination_path_", value=destination_path
)
if not source_path_.exists():
return f"Error: no such file or directory {source_path}"
Expand Down

0 comments on commit 0ac6d7d

Please sign in to comment.