Removed exeption causing error in downloaded data

This commit is contained in:
Fred Boniface 2024-04-02 14:21:40 +01:00
parent 8e6bb25471
commit 0a494ad81f
4 changed files with 22 additions and 21 deletions

View File

@ -33,5 +33,6 @@ The current process of adding new codes involves being made aware of them face t
- Issues opened should contain the missing PIS code in their title, this application should check for any open issues containing the missing code to avoid duplicated issues.
## Main external dependencies (Expected)
- imaplib
- email

View File

@ -1,5 +1,5 @@
home = /usr/bin
include-system-site-packages = false
version = 3.11.7
version = 3.11.8
executable = /usr/bin/python3.11
command = /usr/bin/python -m venv /home/fred.boniface/git/owlboard/diagram-parser
command = /usr/bin/python -m venv /home/fred.boniface/Desktop/diagrams-to-parse/diagram-parser

View File

@ -20,6 +20,7 @@ def humanYaml(pis_list):
manual_review += f' - code: "{pis["pis"]}"\n'
for service in pis["services"]:
crs = []
if service and service['stops']:
for stop in service['stops']:
crs.append(owlboard_connector.convert_tiploc_to_crs(stop))
manual_review += f' stops: [{",".join(crs)}]\n'

@ -1 +0,0 @@
Subproject commit 194f20ea6fe89c423af752f2869d67c44ee194f5