fixed some task issues lol

This commit is contained in:
lickthecheese 2020-01-02 16:08:12 -05:00
parent 970c321bd0
commit 20d7aa8f94

View file

@ -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():