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(