Skip to content

Commit

Permalink
fix typo, should be self._password
Browse files Browse the repository at this point in the history
  • Loading branch information
jettify committed Sep 8, 2016
1 parent ad62a32 commit eae25fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiomysql/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def _request_authentication(self):
auth_packet = self._process_auth(plugin_name, auth_packet)
else:
# send legacy handshake
data = _scramble_323(self.password.encode('latin1'),
data = _scramble_323(self._password.encode('latin1'),
self.salt) + b'\0'
self.write_packet(data)
auth_packet = yield from self._read_packet()
Expand Down

0 comments on commit eae25fd

Please sign in to comment.