From cd47c3bf5ad9f88afed01d045b5e0768480398f0 Mon Sep 17 00:00:00 2001 From: Jacob Daniel Bennett Date: Thu, 27 Aug 2020 15:01:36 -0400 Subject: [PATCH] Fix relative filepath issue from previous push --- api/ECNQueue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/ECNQueue.py b/api/ECNQueue.py index 6402bb4..4347464 100644 --- a/api/ECNQueue.py +++ b/api/ECNQueue.py @@ -14,7 +14,8 @@ #------------------------------------------------------------------------------# # The directory where queue items are -queueDirectory = os.path.join(os.path.dirname(os.getcwd()), "q-snapshot") +queueDirectory = os.path.join(os.path.dirname(os.path.dirname(__file__)), "q-snapshot") +#print(os.path.join(os.path.dirname(os.path.dirname(__file__)), "q-snapshot")) # Queues to not load in getQueues() queuesToIgnore = ["archives", "drafts", "inbox"]