26 Feb
2013
26 Feb
'13
7:10 p.m.
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1361904666 28800 # Node ID 1b2ec3a7cdab9efcf2a769ec3c9abb6eaaa85ff3 # Parent eaca60f43728b33978fa03763fb7e82af786b03d [hmk] Fix regression introduced with CSV dialog detection. #617
diff -r eaca60f43728 -r 1b2ec3a7cdab chirp/kenwood_hmk.py --- a/chirp/kenwood_hmk.py Mon Feb 25 14:51:54 2013 -0800 +++ b/chirp/kenwood_hmk.py Tue Feb 26 10:51:06 2013 -0800 @@ -120,3 +120,8 @@ if not good: print self.errors raise errors.InvalidDataError("No channels found") + + @classmethod + def match_model(cls, filedata, filename): + """Match files ending in .hmk""" + return filename.lower().endswith("." + cls.FILE_EXTENSION)