diff --git a/tapl.py b/tapl.py index b6a03ec..e88b5fc 100644 --- a/tapl.py +++ b/tapl.py @@ -3,7 +3,6 @@ filename = sys.argv[1] file = open(filename, 'r') -ignore = [" ", "\n", "\t"] contents = file.read() q = deque() @@ -50,9 +49,4 @@ q.appendleft(q[1] / q[0]) elif (contents[i] == "t"): q.appendleft(q[int(q[0])]) - else: - if contents[i] not in ignore: - print("Error at character " + str(i) + " " + str(contents[i])) - print("That isn't a command!") - break i+=1 \ No newline at end of file