Skip to content

Commit

Permalink
Allow for compiled regexes
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Dec 21, 2016
1 parent ae53031 commit b277684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metakernel/replwrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _expect_prompt(self, timeout=None):

def _expect_inner(self, expects, timeout):
try:
return self.child.expect_exact(expects, timeout=timeout)
return self.child.expect(expects, timeout=timeout)
except KeyboardInterrupt:
self.child.kill(signal.SIGINT)
if self.prompt_emit_cmd:
Expand Down

0 comments on commit b277684

Please sign in to comment.