Actually merge stdout and stderr for pyexec
This commit is contained in:
parent
0dad4fd028
commit
a6c52162e6
|
@ -69,7 +69,6 @@ async def pyexec(client, message):
|
||||||
sys.stdout = stdout
|
sys.stdout = stdout
|
||||||
sys.stderr = stderr
|
sys.stderr = stderr
|
||||||
exec_tasks.pop(rnd_id, None)
|
exec_tasks.pop(rnd_id, None)
|
||||||
wrapped_stderr.seek(0)
|
|
||||||
wrapped_stdout.seek(0)
|
wrapped_stdout.seek(0)
|
||||||
output = ''
|
output = ''
|
||||||
wrapped_stdout_text = wrapped_stdout.read().strip()
|
wrapped_stdout_text = wrapped_stdout.read().strip()
|
||||||
|
|
Loading…
Reference in New Issue