Merge pull request #19 from ribenamaplesyrup/ribenamaplesyrup-patch-2

Update hop.py
This commit is contained in:
Sean Greaves
2023-10-23 10:57:47 +01:00
committed by GitHub

View File

@@ -33,7 +33,7 @@ class Hop:
if new_officer_id not in network.graph:
network.graph[new_officer_id] = {
'depth': network.n+1,
'title': sugartrail.processing.normalise_name(officer['name']),
'title': sugartrail.api.get_appointments(new_officer_id)['items'][0]['name'],
'node_type': "Person",
'arcs': []
}