<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 10, 2013 at 8:08 PM, Jens J. <span dir="ltr"><<a href="mailto:kd4tjx@yahoo.com" target="_blank">kd4tjx@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[bj-uv55] initial channel editing support #1201<br>
<br>
I have also tried to simplify a few areas with list comprehension, like:<br>
<br>
<br>
- if "BFB" not in radio_version and "82" not in radio_version and "USA" not in radio_version:<br>
+ if not any(type in radio_version for type in ["BFB", "82", "USA", "BJ55"]):<br>
<br></blockquote></div><br></div><div class="gmail_extra">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).<br>
<br></div><div class="gmail_extra">Jim KC9HI<br></div></div>