summaryrefslogtreecommitdiff
path: root/examples/proxy_echo_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/proxy_echo_client.py')
-rwxr-xr-xexamples/proxy_echo_client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/proxy_echo_client.py b/examples/proxy_echo_client.py
index 4db9a552..3466dc9b 100755
--- a/examples/proxy_echo_client.py
+++ b/examples/proxy_echo_client.py
@@ -24,6 +24,8 @@ import sleekxmpp
if sys.version_info < (3, 0):
reload(sys)
sys.setdefaultencoding('utf8')
+else:
+ raw_input = input
class EchoBot(sleekxmpp.ClientXMPP):