aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/home.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/home.py')
-rw-r--r--src/web/views/home.py4
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 " +
bgstack15