5 Apr
2012
5 Apr
'12
9:17 a.m.
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1333641862 21600 # Node ID 3f4a778cc0bbe4117ca88842a9e59c4fd237de91 # Parent 69c66e533b3ada0f8f9b7ca9336fb560fd899604 Make CSVRadio::match_model() more generic so it works with HMKRadio. #102
diff -r 69c66e533b3a -r 3f4a778cc0bb chirp/generic_csv.py --- a/chirp/generic_csv.py Wed Apr 04 18:30:58 2012 -0700 +++ b/chirp/generic_csv.py Thu Apr 05 10:04:22 2012 -0600 @@ -242,4 +242,4 @@
@classmethod def match_model(cls, filedata, filename): - return filename.lower().endswith(".csv") + return filename.lower().endswith("." + cls.FILE_EXTENSION)