alphabetical order i think i spelled that wrong
This commit is contained in:
parent
62f376323a
commit
964c024bd1
1 changed files with 3 additions and 1 deletions
4
bin/task
4
bin/task
|
@ -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("> ")
|
||||
|
|
Loading…
Reference in a new issue