Actually merge stdout and stderr for pyexec

This commit is contained in:
blank X 2021-08-18 10:58:40 +07:00
parent 0dad4fd028
commit a6c52162e6
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ async def pyexec(client, message):
sys.stdout = stdout
sys.stderr = stderr
exec_tasks.pop(rnd_id, None)
wrapped_stderr.seek(0)
wrapped_stdout.seek(0)
output = ''
wrapped_stdout_text = wrapped_stdout.read().strip()