From 2f322c7fe76040224c0bd95e11686c13348b2f81 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 4 Sep 2022 01:18:47 +0100 Subject: [PATCH] typoy --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index c57526d..dfa41a4 100755 --- a/hblink.py +++ b/hblink.py @@ -287,7 +287,7 @@ class OPENBRIDGE(DatagramProtocol): if compare_digest(_hash, _ckhs) and (_sockaddr == self._config['TARGET_SOCK'] or self._config['RELAX_CHECKS']): _peer_id = _data[11:15] if self._config['NETWORK_ID'] != _peer_id: - f _stream_id not in self._laststrid: + if _stream_id not in self._laststrid: logger.error('(%s) OpenBridge packet discarded because NETWORK_ID: %s Does not match sent Peer ID: %s', self._system, int_id(self._config['NETWORK_ID']), int_id(_peer_id)) self._laststrid.append(_stream_id) return