From 098ff961e3c660964fcd36d637a5561057ae03a7 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 10 Aug 2016 22:27:27 -0400 Subject: [PATCH] Fixes #454: Correct typecasting on rack export --- netbox/dcim/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/models.py b/netbox/dcim/models.py index 537d33087..3da9bb443 100644 --- a/netbox/dcim/models.py +++ b/netbox/dcim/models.py @@ -373,7 +373,7 @@ class Rack(CreatedUpdatedModel): self.tenant.name if self.tenant else '', self.role.name if self.role else '', self.get_type_display() if self.type else '', - self.width, + str(self.width), str(self.u_height), ])