summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Slenders <jonathan@slenders.be>2018-05-20 23:28:01 +0200
committerJonathan Slenders <jonathan@slenders.be>2018-05-20 23:28:01 +0200
commit80f44e6f589cfeb0120a94007c0c6493c41400c3 (patch)
tree8a7e90b3f68aed480e919694ed1443093e99e017
parent86afd7ad7b0373028c2e99a85f4719ca42757c02 (diff)
Fixed import in telnet/toolbar.py example.
-rwxr-xr-xexamples/telnet/toolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/telnet/toolbar.py b/examples/telnet/toolbar.py
index bc7bc789..3f6cc610 100755
--- a/examples/telnet/toolbar.py
+++ b/examples/telnet/toolbar.py
@@ -5,7 +5,7 @@ in the prompt.
"""
from __future__ import unicode_literals
-from prompt_toolkit.contrib.completers import WordCompleter
+from prompt_toolkit.completion import WordCompleter
from prompt_toolkit.contrib.telnet.server import TelnetServer
from prompt_toolkit.eventloop import From, get_event_loop
from prompt_toolkit.shortcuts import prompt