From 0ac6d7d6291949f849eb3c7c61c45f188c42ebee Mon Sep 17 00:00:00 2001 From: Cedric Richter <32569892+cedricrupb@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:23:30 +0100 Subject: [PATCH] Fix a potential identifier bug --- nextpy/ai/tools/toolkits/file_toolkit/file/move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextpy/ai/tools/toolkits/file_toolkit/file/move.py b/nextpy/ai/tools/toolkits/file_toolkit/file/move.py index 97cbb29c..83a80823 100644 --- a/nextpy/ai/tools/toolkits/file_toolkit/file/move.py +++ b/nextpy/ai/tools/toolkits/file_toolkit/file/move.py @@ -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}"