From 64eefc8384328d4d5f2f2b9c591d16da0984daf0 Mon Sep 17 00:00:00 2001 From: Armingol <pablo.armingolrobles@telefonica.com> Date: Thu, 30 Nov 2023 16:43:52 +0100 Subject: [PATCH] code cleanup --- src/webui/service/device/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/service/device/routes.py b/src/webui/service/device/routes.py index f59155b9f..4459deeeb 100644 --- a/src/webui/service/device/routes.py +++ b/src/webui/service/device/routes.py @@ -63,7 +63,7 @@ def add(): for key, _ in DeviceOperationalStatusEnum.DESCRIPTOR.values_by_name.items(): form.operational_status.choices.append( (DeviceOperationalStatusEnum.Value(key), key.replace('DEVICEOPERATIONALSTATUS_', ''))) - + # items for Device Type field form.device_type.choices = [] for device_type in DeviceTypeEnum: -- GitLab