diff --git a/src/common/zeroconf/client_zeroconf.py b/src/common/zeroconf/client_zeroconf.py index 6952636c50d150c4d1eb37a1cbdb31fc8c1e0bf4..a5c0b955692f0959e2ff3f2e42883f15a57fa25d 100644 --- a/src/common/zeroconf/client_zeroconf.py +++ b/src/common/zeroconf/client_zeroconf.py @@ -222,7 +222,7 @@ class P2PClient(IdleObject): self.Dispatcher._metastream)[:-2]) def _check_stream_start(self, ns, tag, attrs): - if ns<>NS_STREAMS or tag<>'stream': + if ns != NS_STREAMS or tag != 'stream': self.Connection.DEBUG('Incorrect stream start: (%s,%s).Terminating! ' \ % (tag, ns), 'error') self.Connection.disconnect()