idiot vidk2
This commit is contained in:
parent
8a11e76cfb
commit
744832f697
|
@ -59,7 +59,7 @@ async def pyexec(client, message):
|
||||||
sys.stderr = wrapped_stderr
|
sys.stderr = wrapped_stderr
|
||||||
task = asyncio.create_task(async_obj())
|
task = asyncio.create_task(async_obj())
|
||||||
exec_tasks[hash(UniqueExecReturnIdentifier)] = task
|
exec_tasks[hash(UniqueExecReturnIdentifier)] = task
|
||||||
returned = await async_obj
|
returned = await task
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
sys.stdout = stdout
|
sys.stdout = stdout
|
||||||
sys.stderr = stderr
|
sys.stderr = stderr
|
||||||
|
|
Loading…
Reference in New Issue