diff options
Diffstat (limited to 'examples/pubsub_events.py')
-rwxr-xr-x | examples/pubsub_events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pubsub_events.py b/examples/pubsub_events.py index eb678cfd..20af1fbe 100755 --- a/examples/pubsub_events.py +++ b/examples/pubsub_events.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- import logging -import getpass +from getpass import getpass from optparse import OptionParser import slixmpp @@ -112,7 +112,7 @@ if __name__ == '__main__': if opts.jid is None: opts.jid = input("Username: ") if opts.password is None: - opts.password = getpass.getpass("Password: ") + opts.password = getpass("Password: ") logging.info("Run this in conjunction with the pubsub_client.py " + \ "example to watch events happen as you give commands.") |