We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1a4459 commit bc2c18bCopy full SHA for bc2c18b
lib/mysqlx/authentication.py
@@ -69,7 +69,7 @@ class PlainAuthPlugin(object):
69
def __init__(self, username, password):
70
self._username = username
71
self._password = password.encode("utf-8") \
72
- if isinstance(password, UNICODE_TYPES) else password
+ if isinstance(password, UNICODE_TYPES) and not PY3 else password
73
74
def name(self):
75
return "Plain Authentication Plugin"
0 commit comments