From f6118478b06ebdbcddf2c21664ebbf6c1f4d74e0 Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Fri, 24 Jun 2022 16:02:32 +0100 Subject: [PATCH] fix ci --- bin/gftools-test-gf-coverage.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/gftools-test-gf-coverage.py b/bin/gftools-test-gf-coverage.py index 0c63cdd6b..b280f1629 100755 --- a/bin/gftools-test-gf-coverage.py +++ b/bin/gftools-test-gf-coverage.py @@ -22,9 +22,7 @@ nam_dir) -NAM_DIR = os.path.join(nam_dir, "GF Glyph Sets") -NAM_FILES = [os.path.join(NAM_DIR, f) - for f in os.listdir(NAM_DIR) +NAM_FILES = [f for f in os.listdir(nam_dir) if f.endswith(".nam")] @@ -34,7 +32,7 @@ def main(): expected = set() for nam_file in NAM_FILES: - nam_filepath = os.path.join(NAM_DIR, nam_file) + nam_filepath = os.path.join(nam_dir, nam_file) expected.update(CodepointsInNamelist(nam_filepath)) filename = sys.argv[1]