*** MythbuntuLircGenerator/core.py 2010-10-03 00:02:53.000000000 +0100 --- MythbuntuLircGenerator/core.py 2011-05-11 17:22:17.710143032 +0100 *************** *** 180,186 **** extrakey_split=extrabutton.split('KEY_') pattern = re.compile(self.button_dictionary[buttons[1]],re.IGNORECASE) if pattern.search(extrabutton) is not None or \ ! (len(extrakey_split) > 1 and patern.search(extrakey_split[1])): self.write_key(stream,self.application_dictionary[item],button,remote,extrabutton) break #we only want the first instance (ignore _DOWN or _UP) --- 180,186 ---- extrakey_split=extrabutton.split('KEY_') pattern = re.compile(self.button_dictionary[buttons[1]],re.IGNORECASE) if pattern.search(extrabutton) is not None or \ ! (len(extrakey_split) > 1 and pattern.search(extrakey_split[1])): self.write_key(stream,self.application_dictionary[item],button,remote,extrabutton) break #we only want the first instance (ignore _DOWN or _UP)