eddn-report: EDDiscovery outfitting/2 unicode 'i'

This commit is contained in:
Athanasius committed 2022-08-22 07:19:59 +00:00
1 parent 9fca2e166e
commit 59f5536a02
1 file changed
+12 -1
+12 -1
View File
@@ -76,7 +76,18 @@ def process_file(input_file: str) -> None:
if matches.group('software_name') == 'EDDiscovery':
# https://github.com/EDDiscovery/EDDiscovery/releases/latest
if software_version >= semantic_version.Version.coerce('15.1.1.0'):
print(line)
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2':
if matches.group('err_msg').startswith(
'Failed Validation "[<ValidationError: "u\'\\\\u0131nt_dockingcomputer_standard\' does not match \'(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)\'">]'
):
# <https://github.com/EDDiscovery/EDDiscovery/issues/3304>
pass
else:
print(line)
else:
print(line)
elif matches.group('software_name') == 'EDDLite':
# https://github.com/EDDiscovery/EDDLite/releases/tag/latest