16 Feb
2014
16 Feb
'14
11:01 a.m.
I have a question though. Since the use picks a model from a list, shouldn't there be a way to take advantage of that for enabling and/or disabling settings? I've been using self._my_version() to do this but if I'm not careful, there can be collisions with the various models. It seem to me that the user selected model would be much better.
Well, yes, but for that to work reliably, you need to be able to detect the image separately as well. If that's working, then you can do something like:
if self.MODEL == "UV-5R": # do something elif self.MODEL == "UV6": # do something different
--Dan