From d8535a96177d98135fe1c8d9c0b0268423160527 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Fri, 25 Oct 2024 10:19:55 +0200 Subject: [PATCH] Fix typing error --- src/fontra_compile/__main__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fontra_compile/__main__.py b/src/fontra_compile/__main__.py index 1ae3235..e85d393 100644 --- a/src/fontra_compile/__main__.py +++ b/src/fontra_compile/__main__.py @@ -20,9 +20,7 @@ async def main_async() -> None: args = parser.parse_args() sourceFontPath = pathlib.Path(args.source_font).resolve() outputFontPath = pathlib.Path(args.output_font).resolve() - glyphNames = ( - args.glyph_names.replace(",", " ").split() if args.glyph_names else None - ) + glyphNames = args.glyph_names.replace(",", " ").split() if args.glyph_names else [] reader = getFileSystemBackend(sourceFontPath) builder = Builder(