Better to use locale.get_collation than locale.collation.

This commit is contained in:
John Ralls 2021-07-03 21:54:57 -07:00
parent df270adc94
commit 9cca728a66

View File

@ -231,7 +231,7 @@ class DBAPI(DbGeneric):
"""
collation = self.dbapi.check_collation(locale)
if collation == None:
return locale.collation
return locale.get_collation()
return collation
def transaction_begin(self, transaction):