summaryrefslogtreecommitdiff
path: root/examples/chess.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/chess.py')
-rwxr-xr-xexamples/chess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/chess.py b/examples/chess.py
index f97a3a9..a15fd94 100755
--- a/examples/chess.py
+++ b/examples/chess.py
@@ -27,7 +27,7 @@ from __future__ import print_function
from __future__ import absolute_import
import pexpect
-import ANSI
+from pexpect import ANSI
REGEX_MOVE = r'(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)'
REGEX_MOVE_PART = r'(?:[0-9]|\x1b\[C)(?:[a-z]|\x1b\[C)(?:[0-9]|\x1b\[C)'