Fixes #1951: Fix TypeError exception when importing platforms
Fixes #1951: Fix TypeError exception when importing platforms

digitalocean/netbox,lampwins/netbox,digitalocean/netbox,lampwins/netbox,lampwins/netbox,digitalocean/netbox,digitalocean/netbox,lampwins/netbox