From 4be3cc99cf5828733335d10ff487a7e074684fba Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Fri, 15 Mar 2019 13:20:09 -0400 Subject: [PATCH] better output regex --- Frotz/plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Frotz/plugin.py b/Frotz/plugin.py index 87ced2e..0359c23 100644 --- a/Frotz/plugin.py +++ b/Frotz/plugin.py @@ -60,7 +60,7 @@ class Frotz(callbacks.Plugin): response = [] prompts = ["\n>", "\n> >", "to begin]", "\n\*\*\*MORE\*\*\*", pexpect.TIMEOUT] output.expect(prompts, timeout=2) - response = re.sub('(?