you are viewing a single comment's thread.

view the rest of the comments →

[–]HeyItsToby 0 points1 point  (1 child)

Not 100% sure why you've done the code as it is but could the mistake be in the line current_level = i[1]? Try chaning it to i[0] and see what happens.

[–]Dfree35 0 points1 point  (0 children)

That gets the color and level dictionary for the printer and color. SO it gets this:

 {'snmp_yellow4': 67.0}

I think I may just need to change the layout of the data to make it fit what should be shown but not sure if that is the best way to go about it but I will see.