diff --git a/gramps/plugins/db/dbapi/dbapi.py b/gramps/plugins/db/dbapi/dbapi.py index 786562768..994fa22a4 100644 --- a/gramps/plugins/db/dbapi/dbapi.py +++ b/gramps/plugins/db/dbapi/dbapi.py @@ -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):