mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-01-22 00:00:20 +01:00
explicitly cast frequency
This commit is contained in:
parent
4d67b684e4
commit
8fdf263e4b
|
|
@ -154,7 +154,7 @@ class Uploader(object):
|
|||
def encodeSpot(self, spot):
|
||||
return bytes(
|
||||
self.encodeString(spot["callsign"])
|
||||
+ list(spot["freq"].to_bytes(4, "big"))
|
||||
+ list(int(spot["freq"]).to_bytes(4, "big"))
|
||||
+ list(int(spot["db"]).to_bytes(1, "big", signed=True))
|
||||
+ self.encodeString(spot["mode"])
|
||||
+ self.encodeString(spot["locator"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue