diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-02 08:50:11 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-02 08:50:11 +0100 |
commit | 2e48ba95e9ac8e78634efe585d96aeb1a50bb12f (patch) | |
tree | ed7992a09cd7e120b015c8c138af65e5016e1c8f /src/crawler | |
parent | set result to None by default (diff) | |
download | newspipe-2e48ba95e9ac8e78634efe585d96aeb1a50bb12f.tar.gz newspipe-2e48ba95e9ac8e78634efe585d96aeb1a50bb12f.tar.bz2 newspipe-2e48ba95e9ac8e78634efe585d96aeb1a50bb12f.zip |
useless return
Diffstat (limited to 'src/crawler')
-rw-r--r-- | src/crawler/classic_crawler.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |