Skip to content

Commit

Permalink
Readability Improvement from previous push
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Daniel Bennett committed Aug 28, 2020
1 parent cd47c3b commit db8e5f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
#------------------------------------------------------------------------------#

# The directory where queue items are
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"))
CurrentFilePath = __file__
CurrentFileDirectory = os.path.dirname(CurrentFilePath)
CurrentFileDirectoryParent = os.path.dirname(CurrentFileDirectory)
queueDirectory = os.path.join(CurrentFileDirectoryParent, "q-snapshot")

# Queues to not load in getQueues()
queuesToIgnore = ["archives", "drafts", "inbox"]
Expand Down Expand Up @@ -343,4 +345,4 @@ def getQueues() -> list:
if isDirectory and isValid:
queues.append(Queue(file))

return queues
return queues

0 comments on commit db8e5f9

Please sign in to comment.