diff options
Diffstat (limited to 'src/pyssg/database.py')
-rw-r--r-- | src/pyssg/database.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pyssg/database.py b/src/pyssg/database.py index 5a174c9..34bf534 100644 --- a/src/pyssg/database.py +++ b/src/pyssg/database.py @@ -2,7 +2,6 @@ import os import sys import csv from logging import Logger, getLogger -from configparser import ConfigParser from .utils import get_checksum from .database_entry import DatabaseEntry @@ -15,11 +14,9 @@ class Database: __COLUMN_NUM: int = 5 __COLUMN_DELIMITER: str = '|' - def __init__(self, db_path: str, - config: ConfigParser): + def __init__(self, db_path: str) -> None: log.debug('initializing the page db on path "%s"', db_path) self.db_path: str = db_path - self.config: ConfigParser = config self.e: dict[str, DatabaseEntry] = dict() |