mirror of
https://github.com/Xevion/contest-assistant.git
synced 2025-12-06 19:14:39 -06:00
running bot with database, switch to helper function for testing
This commit is contained in:
@@ -5,6 +5,7 @@ import os
|
||||
BASE_DIR = os.path.dirname(os.path.abspath(os.path.join(__file__, '..')))
|
||||
TOKEN = os.path.join(BASE_DIR, 'token.dat')
|
||||
DATABASE = os.path.join(BASE_DIR, 'database.db')
|
||||
DATABASE_URI = f'sqlite:///{DATABASE}'
|
||||
|
||||
# Other constants
|
||||
LOGGING_LEVEL = logging.DEBUG
|
||||
|
||||
Reference in New Issue
Block a user