Fix syntax err
This commit is contained in:
parent
42c0ae34ab
commit
c7fd19f477
@ -55,7 +55,7 @@ def check_and_validate_against_owlboard(train_entries):
|
|||||||
output.append(train_entry)
|
output.append(train_entry)
|
||||||
|
|
||||||
# Else if only one possible entry (and previous statements false), open issue
|
# Else if only one possible entry (and previous statements false), open issue
|
||||||
elif len(train_entry['timetable_entries'] and train_entry['diagram_pis_code'] != "____") == 1:
|
elif len(train_entry['timetable_entries']) == 1 and train_entry['diagram_pis_code'] != "____":
|
||||||
issue_title = f"PIS Error | Code: {train_entry['diagram_pis_code']}"
|
issue_title = f"PIS Error | Code: {train_entry['diagram_pis_code']}"
|
||||||
issue_content = f"""
|
issue_content = f"""
|
||||||
PIS Code {train_entry['diagram_pis_code']}.
|
PIS Code {train_entry['diagram_pis_code']}.
|
||||||
|
Loading…
Reference in New Issue
Block a user