Browse Source

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

master
miggazElquez 1 year ago
parent
commit
84f23ac729
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      brainfuck.py

+ 1
- 1
brainfuck.py 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()


Loading…
Cancel
Save