mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 15:19:03 +00:00
Logging and bugfix for http crawler
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user