summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/auth_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/auth_handler.py b/paramiko/auth_handler.py
index 38b23729..cab27a88 100644
--- a/paramiko/auth_handler.py
+++ b/paramiko/auth_handler.py
@@ -597,7 +597,7 @@ class AuthHandler (object):
for i in range(n):
responses.append(m.get_text())
result = self.transport.server_object.check_auth_interactive_response(responses)
- if isinstance(type(result), InteractiveQuery):
+ if isinstance(result, InteractiveQuery):
# make interactive query instead of response
self._interactive_query(result)
return