mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-12-26 15:07:44 -06:00
fixed linting
This commit is contained in:
@@ -168,7 +168,7 @@ def sanatize_log_output(data):
|
||||
if "macros" in data:
|
||||
for macro in sanitized_data["macros"]:
|
||||
# Check if macro is secret type
|
||||
if not (macro["type"] == str(1) or
|
||||
if not (macro["type"] == str(1) or
|
||||
macro["type"] == 1):
|
||||
continue
|
||||
macro["value"] = "********"
|
||||
|
||||
Reference in New Issue
Block a user