diff options
author | Botond Hende <nettingman@gmail.com> | 2024-08-25 16:30:51 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-08-25 16:30:51 +0200 |
commit | b3c35c2ca00106fe475d82baa580ee26ee64e1ba (patch) | |
tree | a75b346a884b08628c16e2b3263fc5a45faa7ad8 /config.py | |
parent | b0cab01ab962e4a0f704012eac28786597726be1 (diff) |
create/connect to database on startup
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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") |