fixed rigctld bandwidth toggle

This commit is contained in:
DJ2LS 2022-12-01 11:46:30 +01:00
parent 9295b8e8ed
commit d03b15b99e

View file

@ -163,7 +163,7 @@ class radio:
data = data[1].decode("utf-8")
if 'RPRT' not in data:
self.bandwidth = data
self.bandwidth = int(data)
return self.bandwidth
except Exception:
return self.bandwidth