parsers.py
: Pylint fix
This commit is contained in:
parent
e4ed33e584
commit
ff385c1102
@ -52,7 +52,7 @@ def split_tja_lines_into_courses(lines):
|
|||||||
|
|
||||||
# Course-specific header fields
|
# Course-specific header fields
|
||||||
elif name_upper == 'COURSE':
|
elif name_upper == 'COURSE':
|
||||||
if value not in NORMALIZE_COURSE.keys():
|
if value not in NORMALIZE_COURSE:
|
||||||
raise ValueError(f"Invalid COURSE value: '{value}'")
|
raise ValueError(f"Invalid COURSE value: '{value}'")
|
||||||
current_course = NORMALIZE_COURSE[value]
|
current_course = NORMALIZE_COURSE[value]
|
||||||
current_course_cached = current_course
|
current_course_cached = current_course
|
||||||
|
Loading…
Reference in New Issue
Block a user