From dd68c5c410a0cc1a9ae1249d14aae31be048012e Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 8 Jun 2022 11:59:22 +0200 Subject: [PATCH] fix dev.sid --- ereuse_devicehub/resources/device/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/device/models.py b/ereuse_devicehub/resources/device/models.py index 8b2fb93b..c42d9bec 100644 --- a/ereuse_devicehub/resources/device/models.py +++ b/ereuse_devicehub/resources/device/models.py @@ -405,7 +405,7 @@ class Device(Thing): def sid(self): actions = [x for x in self.actions if x.t == 'Snapshot' and x.sid] if actions: - return actions[0] + return actions[0].sid @property def tradings(self):