30 Mar
2017
30 Mar
'17
12:25 p.m.
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1490901758 25200 # Thu Mar 30 12:22:38 2017 -0700 # Node ID 661b88a024d105b651b2513120f2bfac311a67e4 # Parent 99251f2b49ec2d21a73442768594f1fca3931e9a [THD72] Fix PEP8 regression from #1611.
diff -r 99251f2b49ec -r 661b88a024d1 chirp/drivers/thd72.py --- a/chirp/drivers/thd72.py Thu Mar 30 12:14:05 2017 -0700 +++ b/chirp/drivers/thd72.py Thu Mar 30 12:22:38 2017 -0700 @@ -201,6 +201,7 @@ # see http://chirp.danplanet.com/issues/1611#note-9 UNKNOWN_LOOKUP = (0, 7, 4, 0, 4, 7)
+ def get_prog_vfo(frequency): for i, (start, end) in enumerate(DEFAULT_PROG_VFO): if start <= frequency < end: