aboutsummaryrefslogtreecommitdiff
path: root/app/main.py
diff options
context:
space:
mode:
authorErazor2 <jeromewhweb@gmail.com>2022-01-17 18:47:32 +0000
committerErazor2 <jeromewhweb@gmail.com>2022-01-17 18:47:32 +0000
commit1ebf1da076a993be60734d7019ae9a8d98b8c97a (patch)
treeff17132506347f9c01e2d003176355f19706b64b /app/main.py
parentUpdated Readme (diff)
downloadmetube-1ebf1da076a993be60734d7019ae9a8d98b8c97a.tar.gz
metube-1ebf1da076a993be60734d7019ae9a8d98b8c97a.tar.bz2
metube-1ebf1da076a993be60734d7019ae9a8d98b8c97a.zip
Added Env-Var for State-Directory
Diffstat (limited to 'app/main.py')
-rw-r--r--app/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.py b/app/main.py
index f901afc..5d59958 100644
--- a/app/main.py
+++ b/app/main.py
@@ -16,6 +16,7 @@ class Config:
_DEFAULTS = {
'DOWNLOAD_DIR': '.',
'AUDIO_DOWNLOAD_DIR': '%%DOWNLOAD_DIR',
+ 'STATE_DIR': '.',
'URL_PREFIX': '',
'OUTPUT_TEMPLATE': '%(title)s.%(ext)s',
'YTDL_OPTIONS': '{}',
bgstack15