diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-24 07:51:14 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-24 07:51:14 +0200 |
commit | 7344d1b16f187e9021296c0355379e15e3d03e98 (patch) | |
tree | 59ec48dbbc824bfb444008df17c2a21c4d499888 | |
parent | Added avatar to the profile section. (diff) | |
download | newspipe-7344d1b16f187e9021296c0355379e15e3d03e98.tar.gz newspipe-7344d1b16f187e9021296c0355379e15e3d03e98.tar.bz2 newspipe-7344d1b16f187e9021296c0355379e15e3d03e98.zip |
Bug fix.
-rw-r--r-- | pyaggr3g470r/decorators.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyaggr3g470r/decorators.py b/pyaggr3g470r/decorators.py index 503b7cf7..f4192605 100644 --- a/pyaggr3g470r/decorators.py +++ b/pyaggr3g470r/decorators.py @@ -4,6 +4,10 @@ from threading import Thread from functools import wraps +from flask import g + +from pyaggr3g470r.models import Feed + def async(f): def wrapper(*args, **kwargs): thr = Thread(target = f, args = args, kwargs = kwargs) |