summaryrefslogtreecommitdiff
path: root/examples/roster_browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/roster_browser.py')
-rw-r--r--examples/roster_browser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/roster_browser.py b/examples/roster_browser.py
index a428324e..4a58cc1c 100644
--- a/examples/roster_browser.py
+++ b/examples/roster_browser.py
@@ -27,6 +27,8 @@ from sleekxmpp.exceptions import IqError, IqTimeout
if sys.version_info < (3, 0):
reload(sys)
sys.setdefaultencoding('utf8')
+else:
+ raw_input = input
class RosterBrowser(sleekxmpp.ClientXMPP):