summaryrefslogtreecommitdiff
path: root/examples/muc.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/muc.py')
-rwxr-xr-xexamples/muc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/muc.py b/examples/muc.py
index b609cefe..4a1b36ca 100755
--- a/examples/muc.py
+++ b/examples/muc.py
@@ -10,7 +10,7 @@
"""
import logging
-import getpass
+from getpass import getpass
from optparse import OptionParser
import slixmpp
@@ -153,7 +153,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.room is None:
opts.room = input("MUC room: ")
if opts.nick is None: