Skip to content

Commit 5b393e9

Browse files
fix: remove useless code caused by merge.
1 parent e9d4ac3 commit 5b393e9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/common/utils/tool_code.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import ast
33
import base64
44
import gzip
5-
import io
65
import json
76
import os
87
import socket
@@ -82,7 +81,6 @@ def exec_code(self, code_str, keywords, function_name=None):
8281
success = '{"code":200,"msg":"成功","data":exec_result}'
8382
err = '{"code":500,"msg":str(e),"data":None}'
8483
action_function = f'({function_name !a}, locals_v.get({function_name !a}))' if function_name else 'locals_v.popitem()'
85-
result_path = f'{self.sandbox_path}/result/{_id}.result'
8684
python_paths = CONFIG.get_sandbox_python_package_paths().split(',')
8785
_exec_code = f"""
8886
try:

0 commit comments

Comments
 (0)