This commit is contained in:
Nyako
2026-06-06 14:52:48 +03:00
parent 36a044c8da
commit 2c2aa65947
8 changed files with 193 additions and 173 deletions
+1 -5
View File
@@ -7,11 +7,7 @@ from system_module.gelbooru import gelbooru_date_parse
class DB:
def __init__(self, debug: bool):
if debug:
db_path = "data_test"
else:
db_path = "data"
def __init__(self, db_path: str):
if not os.path.exists(db_path):
os.makedirs(db_path)