Update python.py (#4971)

# Delete a useless "print"
This commit is contained in:
Peng Wang 2023-05-20 04:57:16 +08:00 committed by GitHub
parent 0ff59569dc
commit 62d0a01a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,5 +22,4 @@ class PythonREPL(BaseModel):
except Exception as e:
sys.stdout = old_stdout
output = repr(e)
print(output)
return output