mirror of
https://github.com/bellingcat/sugartrail.git
synced 2026-06-13 14:08:30 +03:00
Merge pull request #19 from ribenamaplesyrup/ribenamaplesyrup-patch-2
Update hop.py
This commit is contained in:
@@ -33,7 +33,7 @@ class Hop:
|
|||||||
if new_officer_id not in network.graph:
|
if new_officer_id not in network.graph:
|
||||||
network.graph[new_officer_id] = {
|
network.graph[new_officer_id] = {
|
||||||
'depth': network.n+1,
|
'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",
|
'node_type': "Person",
|
||||||
'arcs': []
|
'arcs': []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user