X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=loctrkd%2Fwatch.py;fp=loctrkd%2Fwatch.py;h=6d3dcd9fa8ed7eb1f4eba1cdacd266549e9b2519;hb=84861997657f7a8daab41aa13790981bd77749f8;hp=8e962bc2278dcef0b8eda170116dae0be702df2a;hpb=16bea55924c0ab9d035f3e99573fc49c370de231;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