diff options
Diffstat (limited to 'examples/adhoc_provider.py')
-rwxr-xr-x | examples/adhoc_provider.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/adhoc_provider.py b/examples/adhoc_provider.py index 7d1a41ee..fa8135ac 100755 --- a/examples/adhoc_provider.py +++ b/examples/adhoc_provider.py @@ -10,7 +10,7 @@ """ import logging -import getpass +from getpass import getpass from optparse import OptionParser import slixmpp @@ -160,7 +160,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: ") # Setup the CommandBot and register plugins. Note that while plugins may # have interdependencies, the order in which you register them does |