Skip to content

Commit

Permalink
Made expected message relevent: the datetime string doesn't need to b…
Browse files Browse the repository at this point in the history
…e formatted in a particular way
  • Loading branch information
benne238 committed Jul 1, 2021
1 parent f7114c2 commit a84d8e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webqueue2api/parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def parse_section(original_string: str, match_start_index: int, tokens: pp.Parse
parsed_item.append({
"type": "parse_error",
"datetime": format_date_string(str(datetime.datetime.now())),
"expected": "ISO 8601 formatted time string.",
"expected": "Expected a date and/or time",
"got": headers[key],
"line_num": line_number
})
Expand Down

0 comments on commit a84d8e7

Please sign in to comment.