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