[chirp_devel] Issue with Baofeng Firmware Version
Jim Unroe
Sat Feb 13 19:17:08 PST 2016
On Sat, Feb 13, 2016 at 9:24 PM, Jim Unroe <rock.unroe at gmail.com> wrote:
>> So it sounds like we should be skipping any immutable fields during
>> set_settings(). So around here:
>>
>>> if element.has_apply_callback():
>>> LOG.debug("Using apply callback")
>>> element.run_apply_callback()
>>> else:
>>> LOG.debug("Setting %s = %s" % (setting, element.value))
>>> setattr(obj, setting, element.value)
>>
>>
>> What if we changed that else to "elif setting._mutable:" ?
>>
My tester reported back "I just tried it and when I edit the
squelch/service settings, I get an error message that says, "Error in
setting value: 'str' object has no attribute'_mutable'""
Jim
More information about the chirp_devel
mailing list