From 2b021d633ad0f9006cb747f45acdc8e1a4cea91e Mon Sep 17 00:00:00 2001 From: Jason SECULA Date: Mon, 2 Feb 2026 15:44:05 +0100 Subject: [PATCH] Correction bug --- scripts/includes/GLPIAPI.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = {