diff options
Diffstat (limited to 'examples/adhoc_user.py')
-rwxr-xr-x | examples/adhoc_user.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/adhoc_user.py b/examples/adhoc_user.py index 5fba78d2..ac157edd 100755 --- a/examples/adhoc_user.py +++ b/examples/adhoc_user.py @@ -24,6 +24,8 @@ import sleekxmpp if sys.version_info < (3, 0): reload(sys) sys.setdefaultencoding('utf8') +else: + raw_input = input class CommandUserBot(sleekxmpp.ClientXMPP): |