mirror of
https://github.com/Xevion/contest-assistant.git
synced 2025-12-11 02:06:53 -06:00
12 lines
298 B
Python
12 lines
298 B
Python
import logging
|
|
import os
|
|
|
|
# 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')
|
|
DATABASE_URI = f'sqlite:///{DATABASE}'
|
|
|
|
# Other constants
|
|
LOGGING_LEVEL = logging.DEBUG
|