From 2e48ba95e9ac8e78634efe585d96aeb1a50bb12f Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 2 Nov 2016 08:50:11 +0100 Subject: useless return --- src/crawler/classic_crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crawler') diff --git a/src/crawler/classic_crawler.py b/src/crawler/classic_crawler.py index 8d1c499d..60538581 100644 --- a/src/crawler/classic_crawler.py +++ b/src/crawler/classic_crawler.py @@ -178,9 +178,9 @@ async def init_process(user, feed): try: articles = await insert_database(user, feed) logger.debug('inserted articles for %s', feed.title) + return articles except Exception as e: print('init_process: ' + str(e)) - return articles def retrieve_feed(loop, user, feed_id=None): -- cgit