From 25f419dd5824b410b2e69fb8bc6a36a9e88e4dd0 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 18 Sep 2024 15:13:33 +0100 Subject: [PATCH] Fix crash in report, fixes #81 --- Lib/shaperglot/cli/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/shaperglot/cli/report.py b/Lib/shaperglot/cli/report.py index 9af17aa..d0e9299 100644 --- a/Lib/shaperglot/cli/report.py +++ b/Lib/shaperglot/cli/report.py @@ -25,7 +25,7 @@ def report(options) -> None: fixes_needed = defaultdict(set) lang_filter = None - if options.glyphset: + if glyphsets and options.glyphset: lang_filter = glyphsets.languages_per_glyphset(options.glyphset) if options.csv: