Fixed a typo in the psycopg2 driver in fetching result with

'execute_scalar' while attempting to reconnect.
pull/33/head
Ashesh Vashi 2020-07-13 22:44:09 +05:30
parent 9113932066
commit 1889c256e1
1 changed files with 1 additions and 1 deletions

View File

@ -868,7 +868,7 @@ WHERE
if not self.connected():
if self.auto_reconnect and not self.reconnecting:
return self.__attempt_execution_reconnect(
self.execute_dict, query, params,
self.execute_scalar, query, params,
formatted_exception_msg
)
raise ConnectionLost(