Skip to content

Commit a95198d

Browse files
committed
Wrong argument
1 parent a7452cc commit a95198d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphannis/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _get_edge_labels(db, edge_ptr, component_ptr):
3939

4040
err = ffi.new("AnnisErrorList **")
4141
annos = CAPI.annis_graph_annotations_for_edge(db, edge, component_ptr, err)
42-
consume_errors(annos)
42+
consume_errors(err)
4343

4444
for i in range(CAPI.annis_vec_annotation_size(annos)):
4545
a = CAPI.annis_vec_annotation_get(annos, i)

0 commit comments

Comments
 (0)