summaryrefslogtreecommitdiff
path: root/plugins/upload.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/upload.py')
-rw-r--r--plugins/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/upload.py b/plugins/upload.py
index c702dc49..9a70a965 100644
--- a/plugins/upload.py
+++ b/plugins/upload.py
@@ -78,7 +78,7 @@ class Plugin(BasePlugin):
return
filename, = args
filename = expanduser(filename)
- asyncio.ensure_future(self.send_upload(filename))
+ asyncio.create_task(self.send_upload(filename))
@staticmethod
def completion_filename(the_input):