diff --git a/lib/jnpr/jsnapy/jsnapy.py b/lib/jnpr/jsnapy/jsnapy.py index 999d094..0197761 100755 --- a/lib/jnpr/jsnapy/jsnapy.py +++ b/lib/jnpr/jsnapy/jsnapy.py @@ -666,7 +666,7 @@ def connect( try: dev.open() except ConnectAuthError as ex: - if password is None and action is None: + if password is None: password = getpass.getpass( "\nEnter Password for username <%s> : " % username )