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