fixed some task issues lol
This commit is contained in:
parent
970c321bd0
commit
20d7aa8f94
1 changed files with 2 additions and 2 deletions
4
bin/task
4
bin/task
|
@ -31,13 +31,13 @@ print("Select a task list:")
|
|||
listOfLists = []
|
||||
for i in os.listdir(targetDir):
|
||||
print(len(listOfLists), i[:-5])
|
||||
listOfLists.append(i[:5])
|
||||
listOfLists.append(i[:-5])
|
||||
inputList = input("> ")
|
||||
try:
|
||||
inputInt = int(inputList)
|
||||
targetFile = targetDir + "/" + listOfLists[inputInt] + ".json"
|
||||
except ValueError:
|
||||
targetFile = target + "/" + inputList + ".json"
|
||||
targetFile = targetDir + "/" + inputList + ".json"
|
||||
|
||||
# function is used by read and write functions
|
||||
def timeGrab():
|
||||
|
|
Loading…
Reference in a new issue