From 1b99dd38c16f6474a1d56c77c380948ccdb8288d Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Mon, 7 Sep 2009 19:37:23 +0000 Subject: [PATCH] getting record object --- sfa/plc/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/plc/api.py b/sfa/plc/api.py index 9ca932bb..21e573e3 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -195,7 +195,7 @@ class GeniAPI: auth_hrn = hrn auth_info = self.auth.get_auth_info(auth_hrn) table = GeniTable() - records = table.find(hrn) + records = table.findObjects(hrn) if not records: raise RecordNotFound record = records[0] -- 2.47.0