diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index bf652d1..59c17b0 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -77,8 +77,10 @@ def process_file(input_file: str) -> None: # https://github.com/EDDiscovery/EDDiscovery/releases/latest if software_version >= semantic_version.Version.coerce('15.1.1.0'): if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2': - if matches.group('err_msg').startswith( - 'Failed Validation "[]' + err_msg = matches.group('err_msg') + if ( + err_msg.startswith('Failed Validation "[]') != -1 ): # pass