summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.env.template1
-rw-r--r--util.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/.env.template b/.env.template
index d3548c6..17b7179 100644
--- a/.env.template
+++ b/.env.template
@@ -11,3 +11,4 @@ DOWNLOAD_BUTTON_SELECTOR_TYPE="xpath"
DOWNLOAD_BUTTON='//*[@id="mat-mdc-dialog-0"]/div/div/data-export-dialog/div/mat-dialog-actions/button[2]'
BOT_TOKEN=
BOT_CHAT_ID=
+DB_FILENAME='db.sqlite3'
diff --git a/util.py b/util.py
index 58a852b..f7dcd8b 100644
--- a/util.py
+++ b/util.py
@@ -6,7 +6,7 @@ from dotenv import load_dotenv
load_dotenv()
-dbFile = 'db.sqlite3'
+dbFile = os.getenv('DB_FILENAME')
def setupLogger():