diff --git a/storage.py b/storage.py index 9a7a540..b53853d 100644 --- a/storage.py +++ b/storage.py @@ -18,12 +18,6 @@ CREATE INDEX IF NOT EXISTS idx_platform ON published_items(platform); class Storage: def __init__(self, db_path: str = DB_PATH): - - - if not os.path.isfile(db_path): - db_path = os.environ.get("DB_FILE_FALLBACK", r"f:\workspace\Substack_JV\data\published.db") - - print(db_path) pathlib.Path(db_path).parent.mkdir(parents=True, exist_ok=True) self.conn = sqlite3.connect(db_path) self.conn.execute("PRAGMA foreign_keys = ON;")