[Input] Fix error message for unrecognized section in ck2yaml

This commit is contained in:
Ray Speth 2019-09-16 18:15:50 -04:00
parent a085bc1f43
commit 8665eda3c1

View file

@ -1726,7 +1726,7 @@ class Parser:
line, comment = readline()
elif line.strip():
raise InputError('Section starts with unrecognized keyword',
raise InputError('Section starts with unrecognized keyword'
'\n"""\n{}\n"""', line.rstrip())
if advance: