Logging and bugfix for http crawler

This commit is contained in:
Simon
2018-06-25 14:36:16 -04:00
parent 5fd00f22af
commit d7ce1670a8
8 changed files with 67 additions and 42 deletions

View File

@@ -1,3 +1,4 @@
from crawl_server import logger
import os
import json
import sqlite3
@@ -59,6 +60,7 @@ class TaskManagerDatabase:
if not os.path.exists(db_path):
self.init_database()
logger.info("Initialised database")
def init_database(self):