Skip to content

Commit

Permalink
Fixed trailing white space error.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetworkGuy committed May 22, 2024
1 parent 60140b4 commit 78b9d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_zabbix_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def set_inventory(self, nbdevice):
for item in field_list:
value = value[item] if value else None
# Check if the result is usable and expected
# We want to apply any int or float 0 values,
# We want to apply any int or float 0 values,
# even if python thinks those are empty.
if ((value and isinstance(value, int | float | str )) or
(isinstance(value, int | float) and int(value) ==0)):
Expand Down

0 comments on commit 78b9d5a

Please sign in to comment.