Add constants module.

This commit is contained in:
2019-01-22 19:40:46 +01:00
parent 771676a03d
commit c097562ddf
4 changed files with 59 additions and 9 deletions

9
const.py Normal file
View File

@@ -0,0 +1,9 @@
import os
BASE_PATH = os.path.dirname(os.path.realpath(__file__))
DATABASE_NAME = 'es_debug.db'
DATABASE_PATH = os.path.join(BASE_PATH, DATABASE_NAME)
LOG_NAME = 'estus-shots.log'
LOG_PATH = os.path.join(BASE_PATH, LOG_NAME)