X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-chore-bot.git/blobdiff_plain/577bad16ed9bf9a1128bcffbd4aafb7c1be85f38..68b00c8ecbd23b7eed4d0942aa8b45f89f2810e0:/matrix_chore_bot/bot.py diff --git a/matrix_chore_bot/bot.py b/matrix_chore_bot/bot.py index 6d0e502..8a9e755 100644 --- a/matrix_chore_bot/bot.py +++ b/matrix_chore_bot/bot.py @@ -6,13 +6,11 @@ import simplematrixbotlib as botlib from .db import Data as ChoreData - SERVER = os.environ.get('MATRIX_SERVER') BOT_NAME = os.environ.get('MATRIX_BOT') BOT_PWD = os.environ.get('MATRIX_BOT_PWD') -DATA_DIR = os.environ.get('MATRIX_DATA_DIR') -CHORES = ChoreData(os.path.join(DATA_DIR}, 'chores.db')) +CHORES = ChoreData() def get_bot(): creds = botlib.Creds(SERVER, BOT_NAME, BOT_PWD)