Closed Keyhaku closed 6 years ago
Hello,
It seems that netbox.py doesn't fetch correctly boolean custom_field.
netbox version used : 2.3.1
Line 300 (in get_host_vars() function) if var_value should be if var_value is not None
get_host_vars()
if var_value
if var_value is not None
@Keyhaku thanks a lot for your report. Since this really easy to change and you already suggested the code change, feel free to make PR.
Hello,
It seems that netbox.py doesn't fetch correctly boolean custom_field.
netbox version used : 2.3.1
Steps to reproduce
Code to change
Line 300 (in
get_host_vars()
function)if var_value
should beif var_value is not None