From 744832f69731740cac3d916a1718d6a243c2adc3 Mon Sep 17 00:00:00 2001 From: blank X Date: Fri, 23 Apr 2021 20:26:17 +0700 Subject: [PATCH] idiot vidk2 --- sukuinote/plugins/pyexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sukuinote/plugins/pyexec.py b/sukuinote/plugins/pyexec.py index 6c04769..847b768 100644 --- a/sukuinote/plugins/pyexec.py +++ b/sukuinote/plugins/pyexec.py @@ -59,7 +59,7 @@ async def pyexec(client, message): sys.stderr = wrapped_stderr task = asyncio.create_task(async_obj()) exec_tasks[hash(UniqueExecReturnIdentifier)] = task - returned = await async_obj + returned = await task except asyncio.CancelledError: sys.stdout = stdout sys.stderr = stderr