eddn-report: EDDI 4.0.2 fsssignaldiscovered without StarPos

This commit is contained in:
Athanasius 2023-01-11 08:44:01 +00:00
parent 177a5383b9
commit 10dcdb9a2f

View File

@ -100,15 +100,15 @@ def process_file(input_file: str) -> None:
# https://github.com/EDCD/EDDI/releases/latest
if software_version >= semantic_version.Version.coerce('4.0.2'):
# if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/approachsettlement/1':
# if matches.group('err_msg').startswith(
# 'Failed Validation "[<ValidationError: "\'Latitude\' is a required property">]"'
# ):
# # Reported on Discord: <Failed Validation "[<ValidationError: "'Latitude' is a required property">]">
# pass
# else:
print(line)
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/fsssignaldiscovered/1':
if matches.group('err_msg').startswith(
'Failed Validation "[<ValidationError: "\'StarPos\' is a required property"'
):
# Reported on Discord: <https://discord.com/channels/164411426939600896/353595704658231299/1062652620986134608>
pass
else:
print(line)
elif matches.group('software_name').startswith('E:D Market Connector'):
# https://github.com/EDCD/EDMarketConnector/releases/latest