From c66935bcb6f2853ed43f8f131b23380c8c1c373b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl?= Date: Mon, 29 Sep 2025 09:41:15 +0200 Subject: [PATCH] wrong path --- storage.py | 6 ------ 1 file changed, 6 deletions(-) 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;")