summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-08-25 16:30:51 +0200
committerBotond Hende <nettingman@gmail.com>2024-08-25 16:30:51 +0200
commitb3c35c2ca00106fe475d82baa580ee26ee64e1ba (patch)
treea75b346a884b08628c16e2b3263fc5a45faa7ad8 /config.py
parentb0cab01ab962e4a0f704012eac28786597726be1 (diff)
create/connect to database on startup
Diffstat (limited to 'config.py')
-rw-r--r--config.py6
1 files changed, 4 insertions, 2 deletions
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")