From bfe5aae3cda26acd5ebc31a69bcedf34d032b406 Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sun, 12 Feb 2023 11:11:03 -0500 Subject: [PATCH] Fix capture --- api/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/types.py b/api/types.py index e1e9611..d8346bc 100644 --- a/api/types.py +++ b/api/types.py @@ -175,8 +175,8 @@ class Type(metaclass=_TypeMeta): def capture(self, value, **kwargs): data_type = socket_type_to_data_type(value._socket.type) - geometry, attribute = self.capture_attribute(data_type=data_type, value=value, **kwargs) - return geometry, attribute + res = self.capture_attribute(data_type=data_type, value=value, **kwargs) + return res.geometry, res.attribute def transfer(self, attribute, **kwargs): data_type = socket_type_to_data_type(attribute._socket.type) return self.transfer_attribute(data_type=data_type, attribute=attribute, **kwargs)