From b2ffbe78708ea94d4ae798d74e4b408428d0e85c Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Fri, 8 Mar 2024 08:32:17 +0100 Subject: [PATCH] Fix attr name --- src/fontra_rcjk/backend_mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontra_rcjk/backend_mysql.py b/src/fontra_rcjk/backend_mysql.py index ed6968a..2e69f6a 100644 --- a/src/fontra_rcjk/backend_mysql.py +++ b/src/fontra_rcjk/backend_mysql.py @@ -351,7 +351,7 @@ async def _newGlyph(self, glyphName: str, codePoints: list[int]) -> None: logger.info(f"Creating new glyph '{glyphName}'") dummyGlyph = GLIFGlyph() dummyGlyph.name = glyphName - dummyGlyph.codePoints = codePoints + dummyGlyph.unicodes = codePoints dummyGlyph.width = 314 # arbitrary positive value xmlData = dummyGlyph.asGLIFData() response = await self.client.character_glyph_create(