diff --git a/webssh/handler.py b/webssh/handler.py index 85e31a1..6c45b4f 100644 --- a/webssh/handler.py +++ b/webssh/handler.py @@ -178,8 +178,7 @@ class PrivateKey(object): logging.error(str(self.last_exception)) msg = 'Invalid key' if self.password: - msg += ' or wrong passphrase "{}" for decrypting it.'.format( - self.password) + msg += ' or wrong passphrase for decrypting it.' raise InvalidValueError(msg)