Fix bug in brainfuck.py (The -i
option wasn't effective)
This commit is contained in:
parent
61b4c2cc9c
commit
84f23ac729
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue