From 67ca2dd0f45b112e206fb80eb4613960f312f721 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 16 Aug 2014 22:37:29 +0200 Subject: Import getpass from getpass, instead of using getpass.getpass everytime. --- examples/IoT_TestDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/IoT_TestDevice.py') diff --git a/examples/IoT_TestDevice.py b/examples/IoT_TestDevice.py index 795d782a..17041956 100755 --- a/examples/IoT_TestDevice.py +++ b/examples/IoT_TestDevice.py @@ -152,7 +152,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 = IoT_TestDevice(opts.jid,opts.password) -- cgit v1.2.3