Files
ltlnotifyer/db/__init__.py
2022-08-11 23:31:36 +03:00

12 lines
238 B
Python

from os import path
import aiosqlite
from .create import create_tables_if_not_exists
DB_PATH = 'res/db/'
DB_FILENAME = 'database.db'
if not path.exists('res/db/database.db'):
create_tables_if_not_exists(f'{DB_PATH}{DB_FILENAME}')