[chirp_devel] [PATCH] [thd72] Fix model detection with new verbose driver name (regression). #407
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1357624256 28800 # Node ID 636a832a8d5afc85109f92d73381e1b713cd109f # Parent 4059df5e3d2d24c7d90d95455372273baff86564 [thd72] Fix model detection with new verbose driver name (regression). #407
diff -r 4059df5e3d2d -r 636a832a8d5a chirp/kenwood_live.py --- a/chirp/kenwood_live.py Sun Jan 06 17:23:52 2013 -0800 +++ b/chirp/kenwood_live.py Mon Jan 07 21:50:56 2013 -0800 @@ -121,7 +121,7 @@ if self.pipe: self.pipe.setTimeout(0.1) radio_id = get_id(self.pipe) - if radio_id != self.MODEL: + if radio_id != self.MODEL.split(" ")[0]: raise Exception("Radio reports %s (not %s)" % (radio_id, self.MODEL))
participants (2)
-
Dan Smith
-
Tom Hayward