diff --git a/scripts/includes/GLPIAPI.py b/scripts/includes/GLPIAPI.py index 3b5f13f..ab07875 100644 --- a/scripts/includes/GLPIAPI.py +++ b/scripts/includes/GLPIAPI.py @@ -158,6 +158,7 @@ class GLPIAPI: if(device.OS in windowsOSTranslation.keys()): inventory.SetOperatingSystem(platformName, windowsOSTranslation[str(device.OS)], osArch) else: + plaftormName = "Windows Desktop" inventory.SetOperatingSystem(platformName, device.OS, osArch) else: inventory.SetOperatingSystem(platformName, device.OS, osArch)