- list.append(' name="' + str(timer.name) + '"')
- list.append(' description="' + str(timer.description) + '"')
- list.append(' eit="' + str(timer.eit) + '"')
+ list.append(' name="' + str(self.strToXML(timer.name)) + '"')
+ list.append(' description="' + str(self.strToXML(timer.description)) + '"')
+ if timer.eit is not None:
+ list.append(' eit="' + str(timer.eit) + '"')
+ list.append(' disabled="' + str(int(timer.disabled)) + '"')