X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=loctrkd%2Fwatch.py;h=6d3dcd9fa8ed7eb1f4eba1cdacd266549e9b2519;hb=84861997657f7a8daab41aa13790981bd77749f8;hp=8e962bc2278dcef0b8eda170116dae0be702df2a;hpb=9bf81b19b7b790bc2115ac08dc1f3c112aede976;p=loctrkd.git diff --git a/loctrkd/watch.py b/loctrkd/watch.py index 8e962bc..6d3dcd9 100644 --- a/loctrkd/watch.py +++ b/loctrkd/watch.py @@ -37,6 +37,8 @@ def runserver(conf: ConfigParser) -> None: if pmod.proto_handled(zmsg.proto): msg = pmod.parse_message(zmsg.packet, zmsg.is_incoming) print(msg) + if zmsg.is_incoming and hasattr(msg, "rectified"): + print(msg.rectified()) except KeyboardInterrupt: pass