Skip to content

Commit f215ca9

Browse files
committed
fix: update file handling functions
1 parent 3c86016 commit f215ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/tool_lib_node/impl/base_tool_lib_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def execute(self, tool_lib_id, input_field_list, **kwargs) -> NodeResult:
196196
else:
197197
all_params = init_params_default_value | params
198198
if self.node.properties.get('kind') == 'data-source':
199-
exist = function_executor.exec_code(f'{tool_lib.code}\\ndef function_exist(function_name): return callable(globals().get(function_name))', {'function_name': 'get_download_file_list'})
199+
exist = function_executor.exec_code(f'{tool_lib.code}\ndef function_exist(function_name): return callable(globals().get(function_name))', {'function_name': 'get_download_file_list'})
200200
if exist:
201201
download_file_list = []
202202
download_list = function_executor.exec_code(tool_lib.code,

0 commit comments

Comments
 (0)