callanwu commited on
Commit
d9f004f
·
verified ·
1 Parent(s): 487e5ab

Update tool_python.py

Browse files
Files changed (1) hide show
  1. tool_python.py +1 -1
tool_python.py CHANGED
@@ -79,7 +79,7 @@ class PythonInterpreter(BaseToolWithFileAccess):
79
  # if triple_match:
80
  # code = triple_match.group(1)
81
  except Exception:
82
- # return '[Python Interpreter Error]: format error.'
83
 
84
  if not code.strip():
85
  return '[Python Interpreter Error]: Empty code.'
 
79
  # if triple_match:
80
  # code = triple_match.group(1)
81
  except Exception:
82
+ return '[Python Interpreter Error]: format error.'
83
 
84
  if not code.strip():
85
  return '[Python Interpreter Error]: Empty code.'