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:
@@ -265,7 +265,7 @@ class Site(CreatedUpdatedModel, CustomFieldModel):
|
||||
self.slug,
|
||||
self.tenant.name if self.tenant else '',
|
||||
self.facility,
|
||||
str(self.asn),
|
||||
str(self.asn) if self.asn else '',
|
||||
])
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user