You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
It looks like there might be an issue when the path_component is already a string in the dictionary.
When this happens, current_dict becomes a string, and then current_dict[final] = value, it throws the TypeError.
File "/netbox_agent/lldp.py", line 45, in parse
current_dict[final] = value
Expected behavior
current_dict should always be dict, and not failed
Hi!
It looks like there might be an issue when the path_component is already a string in the dictionary.
When this happens, current_dict becomes a string, and then current_dict[final] = value, it throws the TypeError.
Expected behavior
current_dict should always be dict, and not failed
Environment:
I prepared fix.
replace to
Thanks!
The text was updated successfully, but these errors were encountered: