From 2655264b1811116d3b44e380961f1ad06f508672 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 19 Jan 2022 21:47:29 +0000 Subject: [PATCH] ss --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 5c62372..43293d9 100755 --- a/hblink.py +++ b/hblink.py @@ -396,7 +396,7 @@ class OPENBRIDGE(DatagramProtocol): #_data = b''.join([_data[:5],_data[12:]]) _data = b''.join([DMRD,_data[4:]]) - _inthops = _hops.from_bytes('big') + 1 + _inthops = int.from_bytes(_hops,'big') + 1 _hops = _inthops.to_bytes(1,'big') print(_inthops) # Userland actions -- typically this is the function you subclass for an application