Fix YAML representation of decimal values

This commit is contained in:
jeremystretch 2022-06-19 21:28:57 -04:00
parent 278891c262
commit 0d6d68c62f

View File

@ -168,7 +168,7 @@ class DeviceType(NetBoxModel):
('model', self.model), ('model', self.model),
('slug', self.slug), ('slug', self.slug),
('part_number', self.part_number), ('part_number', self.part_number),
('u_height', self.u_height), ('u_height', float(self.u_height)),
('is_full_depth', self.is_full_depth), ('is_full_depth', self.is_full_depth),
('subdevice_role', self.subdevice_role), ('subdevice_role', self.subdevice_role),
('airflow', self.airflow), ('airflow', self.airflow),