diff options
Diffstat (limited to 'examples/roster_browser.py')
-rwxr-xr-x | examples/roster_browser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/roster_browser.py b/examples/roster_browser.py index 8f3e0d80..859ced3b 100755 --- a/examples/roster_browser.py +++ b/examples/roster_browser.py @@ -10,7 +10,7 @@ """ import logging -import getpass +from getpass import getpass import threading from optparse import OptionParser @@ -132,7 +132,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: ") xmpp = RosterBrowser(opts.jid, opts.password) |