From b3c35c2ca00106fe475d82baa580ee26ee64e1ba Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 25 Aug 2024 16:30:51 +0200 Subject: create/connect to database on startup --- config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 87c9872..cf5e0a5 100644 --- a/config.py +++ b/config.py @@ -1,3 +1,5 @@ +import os.path + + class Config: - AGENT_SYMBOL = 'WAZUL' - TOKEN_FILE_NAME = 'sta.token' + DATABASE_PATH = os.path.join(os.path.dirname(__file__), "database/database.db") -- cgit v1.2.3-70-g09d2