Fix bug in brainfuck.py (The -i option wasn't effective)

This commit is contained in:
miggazElquez 2020-01-06 23:55:06 +01:00
parent 61b4c2cc9c
commit 84f23ac729

View file

@ -199,7 +199,7 @@ def main():
interpret(open(sys.argv[1]).read())
elif len(sys.argv) == 3:
if sys.argv[1] == '-i': #oui c'est de lam erde comme manière de faire
interpret(sys.argv[1])
interpret(sys.argv[2])
else:
repl()