Skip to content
Snippets Groups Projects
Commit 34bb56a3 authored by Timothy Davies's avatar Timothy Davies
Browse files

Fix numpy.array type.

parent 9ca3d347
No related branches found
No related tags found
1 merge request!9Use python based fix for gstvaluearray.
Pipeline #608950 skipped
......@@ -111,7 +111,7 @@ def format_property(prop):
return [to_gvalue_array(row) for row in prop]
elif is_listlike(prop):
if isinstance(prop, numpy.array):
if isinstance(prop, numpy.ndarray):
prop = prop.tolist()
return to_gvalue_array(prop)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment