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