summaryrefslogtreecommitdiff
path: root/examples/send_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/send_client.py')
-rwxr-xr-xexamples/send_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/send_client.py b/examples/send_client.py
index 9a03f708..40bfea56 100755
--- a/examples/send_client.py
+++ b/examples/send_client.py
@@ -10,7 +10,7 @@
"""
import logging
-import getpass
+from getpass import getpass
from optparse import OptionParser
import slixmpp
@@ -97,7 +97,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.to is None:
opts.to = input("Send To: ")
if opts.message is None: