Skip to content

Commit 5883b44

Browse files
committed
fixed linting issues
1 parent 5b9cd02 commit 5883b44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

netbox_floorplan/tables.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from dcim.models import Rack, Device
88

9+
910
class FloorplanImageTable(NetBoxTable):
1011
name = tables.Column(
1112
linkify=True,
@@ -53,6 +54,7 @@ class Meta(NetBoxTable.Meta):
5354
'id': lambda record: 'object_rack_{}'.format(record.pk),
5455
}
5556

57+
5658
class FloorplanDeviceTable(NetBoxTable):
5759
name = tables.LinkColumn()
5860
embedded = True
@@ -67,9 +69,8 @@ def htmx_url(self):
6769
# no need to check for embedded as this table is always embedded
6870
return "/plugins/floorplan/floorplans/devices/"
6971

70-
7172
class Meta(NetBoxTable.Meta):
72-
model = Device
73+
model = Device
7374
fields = ('pk', 'name', 'device_type')
7475
default_columns = ('pk', 'name', 'device_type')
7576
row_attrs = {

0 commit comments

Comments
 (0)