Skip to content

Commit b0185cc

Browse files
josephgruberbradsease
authored andcommitted
Fixes missing line number for err call
1 parent 7d27ba0 commit b0185cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oem/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def parse_kvn_oem(ephem_file):
5050
if match:
5151
header[match.group(1)] = match.group(2)
5252
if "CCSDS_OEM_VERS" not in header:
53-
err('OEM file must start with "CCSDS_OEM_VERS" keyword.')
53+
err(line_number=0, message='OEM file must start with "CCSDS_OEM_VERS" keyword.')
5454

5555
for idx, line in enumerate(ephem_file):
5656
line = line.strip()

0 commit comments

Comments
 (0)