trans lint: png typo is not fatal

pull/6026/head
Niklas Fiekas 2020-02-13 16:34:29 +01:00
parent d013cdb97e
commit 0e99332ac4
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ def lint_string(path, el, name, dest, source, allow_missing=0):
# print(notice(path, el, f"unexpected {pattern}: {name} {dest}"))
if "PGN" in source and "PNG" in dest:
print(error(path, el, f"PNG instead of PGN: {name} {dest}"))
print(warn(path, el, f"PNG instead of PGN: {name} {dest}"))
warns += 1
if "\n" not in source and "\n" in dest:
print(notice(path, el, f"expected single line string: {name} {dest}"))