aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-08-07 00:31:47 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-08-07 00:31:47 +0200
commite8b49eb250c5b713a4c80e4ce403d5fdf77d9b0d (patch)
tree81fae36a897c53e2c5fb62be846d7a85d2a877c3 /src/web
parentUpdated Heroku runtime and Pipfile file for Python 3.7.0. (diff)
downloadnewspipe-e8b49eb250c5b713a4c80e4ce403d5fdf77d9b0d.tar.gz
newspipe-e8b49eb250c5b713a4c80e4ce403d5fdf77d9b0d.tar.bz2
newspipe-e8b49eb250c5b713a4c80e4ce403d5fdf77d9b0d.zip
async is now a reserved word
Diffstat (limited to 'src/web')
-rw-r--r--src/web/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/decorators.py b/src/web/decorators.py
index 83a06a48..3835f646 100644
--- a/src/web/decorators.py
+++ b/src/web/decorators.py
@@ -7,7 +7,7 @@ from functools import wraps
from flask_login import login_required
-def async(f):
+def async_maker(f):
"""
This decorator enables to launch a task (for examle sending an email or
indexing the database) in background.
bgstack15