aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crawler/classic_crawler.py2
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):
bgstack15