diff options
Diffstat (limited to 'examples/set_avatar.py')
-rwxr-xr-x | examples/set_avatar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/set_avatar.py b/examples/set_avatar.py index e446497b..4292c970 100755 --- a/examples/set_avatar.py +++ b/examples/set_avatar.py @@ -12,7 +12,7 @@ import os import imghdr 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: ") if opts.filepath is None: opts.filepath = input("Avatar file location: ") |