aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/common/queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common/queue.py')
-rw-r--r--scripts/common/queue.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/common/queue.py b/scripts/common/queue.py
index b4fa369..35abeaa 100644
--- a/scripts/common/queue.py
+++ b/scripts/common/queue.py
@@ -6,7 +6,10 @@ import pickle
import logging
from litequeue import SQLQueue
-QUEUE_DB = os.environ.get('el_QUEUE_db', 'litequeue.db')
+QUEUE_DB = os.environ.get('el_QUEUE_db', 'litequeue.db')
+QUEUE_DIR = os.environ.get('el_QUEUE_dir', 'queue')
+
+QUEUE_DB = QUEUE_DIR + "/" + QUEUE_DB
log = logging.getLogger(__name__)