10 Nov
2013
10 Nov
'13
6:33 p.m.
On Sun, Nov 10, 2013 at 9:19 PM, Jim Unroe rock.unroe@gmail.com wrote:
On Sun, Nov 10, 2013 at 8:08 PM, Jens J. kd4tjx@yahoo.com wrote:
[bj-uv55] initial channel editing support #1201
I have also tried to simplify a few areas with list comprehension, like:
- if "BFB" not in radio_version and "82" not in radio_version and
"USA" not in radio_version:
- if not any(type in radio_version for type in ["BFB", "82", "USA",
"BJ55"]):
I would be happy to work on this with you. I'm not much of a python programmer. Anyway, "BJ55" will not work here because the area of memory we are looking at in the BJ55 is 14 spaces. "BJ55" won't be found and the check will fail with "Unsupported firmware version: ..." You might be able to get away with " " (4 spaces between the quotes).
Jim KC9HI
Oh never mind. I see you are getting it from a different place... Jim