summaryrefslogtreecommitdiff
path: root/plugins/exec.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exec.py')
-rw-r--r--plugins/exec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/exec.py b/plugins/exec.py
index 0786c86f..68f24486 100644
--- a/plugins/exec.py
+++ b/plugins/exec.py
@@ -95,4 +95,4 @@ class Plugin(BasePlugin):
else:
self.api.run_command('/help exec')
return
- asyncio.ensure_future(self.async_exec(command, arg))
+ asyncio.create_task(self.async_exec(command, arg))