mirror of
https://github.com/Xevion/contest-assistant.git
synced 2025-12-10 06:06:48 -06:00
fix async issues, add logging, get database to be created on startup
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import logging
|
||||
import os
|
||||
|
||||
DATABASE = 'database.db'
|
||||
# Path Constants
|
||||
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')
|
||||
|
||||
# Other constants
|
||||
LOGGING_LEVEL = logging.DEBUG
|
||||
|
||||
Reference in New Issue
Block a user