diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-03-31 21:38:15 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-03-31 21:38:15 -0400 |
| commit | 40a44d36554b84c36b2475ad97c62d779cf7a4a4 (patch) | |
| tree | 7bb97c8cca45684561306eeefdaf0c76271ff630 | |
| parent | 14c3227c7f90c895d494a2c03b848f1303196773 (diff) | |
| download | chirp-40a44d36554b84c36b2475ad97c62d779cf7a4a4.tar.gz chirp-40a44d36554b84c36b2475ad97c62d779cf7a4a4.tar.xz | |
Type error on downloading image from my UV5R
| -rw-r--r-- | chirp/drivers/uv5r.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chirp/drivers/uv5r.py b/chirp/drivers/uv5r.py index ea40d02..96afe2a 100644 --- 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.ljust(8), 'utf-8') LOG.debug("done.") return memmap.MemoryMapBytes(data) |
