Skip to content
Snippets Groups Projects
Commit 64eefc83 authored by Pablo Armingol's avatar Pablo Armingol
Browse files

code cleanup

parent 4633e6ac
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!171Resolve "(TID) Fix add device tab via WebUI"
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment