From bd74602accd625735a89e39417a7feeefd52909d Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 20 Feb 2013 13:10:19 -0500 Subject: [PATCH] Fix bug --- PLC/Methods/GetPersons.py | 2 +- PLC/Methods/GetSites.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Methods/GetPersons.py b/PLC/Methods/GetPersons.py index 6725f33a..20427e36 100644 --- a/PLC/Methods/GetPersons.py +++ b/PLC/Methods/GetPersons.py @@ -42,4 +42,4 @@ class GetPersons(Method): #if isinstance(self.caller, Person) and \ # 'admin' not in self.caller['roles']: # persons = filter(self.caller.can_view, persons) - return persons.dicts() + return persons diff --git a/PLC/Methods/GetSites.py b/PLC/Methods/GetSites.py index 138c46e9..2ca1b440 100644 --- a/PLC/Methods/GetSites.py +++ b/PLC/Methods/GetSites.py @@ -29,4 +29,4 @@ class GetSites(Method): def call(self, auth, site_filter = None, return_fields = None): sites = Sites(self.api, site_filter) - return sites.dicts() + return sites -- 2.47.0