diff options
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/py3-fixes | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/py3-fixes b/debian/patches/py3-fixes index 092d5bb..087a266 100644 --- a/debian/patches/py3-fixes +++ b/debian/patches/py3-fixes @@ -9,3 +9,14 @@ """Sets the parameters to use for the query""" self._lat = lat self._lon = lon +--- a/chirp/drivers/uv5r.py ++++ b/chirp/drivers/uv5r.py +@@ -587,7 +587,7 @@ def _do_download(radio): + data += _read_block(radio, i, 0x40, False) + + if append_model: +- data += radio.MODEL.ljust(8) ++ data += bytes(radio.MODEL.encode('utf-8').ljust(8)) + + LOG.debug("done.") + return memmap.MemoryMapBytes(data) |
