mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
Fixes #744: Fixed export of sites without an AS number
This commit is contained in:
parent
09036bef05
commit
c96ee3cec9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user