1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #744: Fixed export of sites without an AS number

This commit is contained in:
Jeremy Stretch
2016-12-16 16:33:07 -05:00
parent c94d111401
commit 15bec75167

View File

@@ -265,7 +265,7 @@ class Site(CreatedUpdatedModel, CustomFieldModel):
self.slug, self.slug,
self.tenant.name if self.tenant else '', self.tenant.name if self.tenant else '',
self.facility, self.facility,
str(self.asn), str(self.asn) if self.asn else '',
]) ])
@property @property