Commit 3eda15d0 authored by Michael Murtaugh's avatar Michael Murtaugh

allow act 1, 2, etc in addition to act one

parent d73f394f
......@@ -12,13 +12,13 @@ while True:
if "quiet" in line:
sys.stdout.write("0\n")
sys.stdout.flush()
elif "act one" in line:
elif "act one" in line or "act 1" in line:
sys.stdout.write("1\n")
sys.stdout.flush()
elif "act two" in line:
elif "act two" in line or "act 2" in line:
sys.stdout.write("2\n")
sys.stdout.flush()
elif "act three" in line:
elif "act three" in line or "act 3" in line:
sys.stdout.write("3\n")
sys.stdout.flush()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment