diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-10 13:57:50 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-10 13:57:50 +0200 |
commit | 57b08c20597f24b46679e2d209b9e13886daa3e3 (patch) | |
tree | 091aba4476b2db7257e49e792269d1a15cb0e760 /src/web/views/home.py | |
parent | Moved notifications module. (diff) | |
download | newspipe-57b08c20597f24b46679e2d209b9e13886daa3e3.tar.gz newspipe-57b08c20597f24b46679e2d209b9e13886daa3e3.tar.bz2 newspipe-57b08c20597f24b46679e2d209b9e13886daa3e3.zip |
Start to clean generic utils functions.
Diffstat (limited to 'src/web/views/home.py')
-rw-r--r-- | src/web/views/home.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/home.py b/src/web/views/home.py index 12a06024..5a8312b4 100644 --- a/src/web/views/home.py +++ b/src/web/views/home.py @@ -8,7 +8,7 @@ from flask.ext.babel import gettext import conf from web.lib.utils import redirect_url -from web import utils +from web.lib import misc_utils from web.lib.view_utils import etag_match from web.models import Article from web.views.common import jsonify @@ -148,7 +148,7 @@ def fetch(feed_id=None): """ if conf.CRAWLING_METHOD == "classic" \ and (not conf.ON_HEROKU or current_user.is_admin): - utils.fetch(current_user.id, feed_id) + misc_utils.fetch(current_user.id, feed_id) flash(gettext("Downloading articles..."), "info") else: flash(gettext("The manual retrieving of news is only available " + |