diff --git a/scripts/includes/GLPIAPI.py b/scripts/includes/GLPIAPI.py index 6876610..e508ef7 100644 --- a/scripts/includes/GLPIAPI.py +++ b/scripts/includes/GLPIAPI.py @@ -59,8 +59,8 @@ class GLPIAPI: deviceID = list(search["data"].keys()) return deviceID, search["data"], search["totalcount"] else: - return None, None, 0 - return None, None, 0 + return "", "", 0 + return "", "", 0 def GetUser(self, username=None, email=None): @@ -81,7 +81,7 @@ class GLPIAPI: userID = list(search["data"].keys()) return userID, search["data"], search["totalcount"] else: - return None, None, 0 + return "", "", 0 def UpdateInventory(self, inventory): headers = {