panctl: Print out if a device is ignored.

This commit is contained in:
Damir Jelić 2019-05-20 16:50:27 +02:00
parent ff0f6c50f9
commit c40af38b33

View File

@ -404,6 +404,8 @@ class PanCtl:
trust_state = f"<ansigreen>Verified</ansigreen>"
elif device["trust_state"] == "blacklisted":
trust_state = f"<ansired>Blacklisted</ansired>"
elif device["trust_state"] == "ignored":
trust_state = f"Ignored"
else:
trust_state = "Unset"