alphabetical order i think i spelled that wrong

This commit is contained in:
lickthecheese 2020-01-02 21:59:55 -05:00
parent 62f376323a
commit 964c024bd1

View file

@ -29,7 +29,9 @@ def clearScreen():
clearScreen()
print("Select a task list:")
listOfLists = []
for i in os.listdir(targetDir):
dirContents = os.listdir(targetDir)
dirContents.sort()
for i in dirContents:
print(len(listOfLists), i[:-5])
listOfLists.append(i[:-5])
inputList = input("> ")