Fixed a typo in the psycopg2 driver in fetching result with
'execute_scalar' while attempting to reconnect.pull/33/head
parent
9113932066
commit
1889c256e1
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue