From ff385c11027bc3d614bf475ee50b42cb9f49b00c Mon Sep 17 00:00:00 2001 From: Viv Date: Mon, 24 Jul 2023 03:54:37 +0000 Subject: [PATCH] `parsers.py`: Pylint fix --- src/tja2fumen/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tja2fumen/parsers.py b/src/tja2fumen/parsers.py index 9e2b7e6..6deb26b 100644 --- a/src/tja2fumen/parsers.py +++ b/src/tja2fumen/parsers.py @@ -52,7 +52,7 @@ def split_tja_lines_into_courses(lines): # Course-specific header fields elif name_upper == 'COURSE': - if value not in NORMALIZE_COURSE.keys(): + if value not in NORMALIZE_COURSE: raise ValueError(f"Invalid COURSE value: '{value}'") current_course = NORMALIZE_COURSE[value] current_course_cached = current_course