fix typo
[enigma2.git] / RecordTimer.py
index 2fb923ba604bd43bec35e68e2afba0a0987419e6..a5df6725997a2ab67526785b5d642cbdc453d4e6 100644 (file)
@@ -239,7 +239,7 @@ class RecordTimer(timer.Timer):
                        self.record(createTimer(timer))
 
        def strToXML(self, str):
-               return str.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;').replace("'", '&apos;'). replace('"', '&qout;')
+               return str.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;').replace("'", '&apos;'). replace('"', '&quot;')
 
        def saveTimer(self):
                #doc = xml.dom.minidom.Document()
@@ -303,13 +303,13 @@ class RecordTimer(timer.Timer):
                        list.append(' disabled="' + str(int(timer.disabled)) + '"')
                        list.append('>\n')
                        
-                       for time, code, msg in timer.log_entries:
-                               list.append('<log')
-                               list.append(' code="' + str(code) + '"')
-                               list.append(' time="' + str(time) + '"')
-                               list.append('>')
-                               list.append(str(msg))
-                               list.append('</log>\n')
+                       #for time, code, msg in timer.log_entries:
+                               #list.append('<log')
+                               #list.append(' code="' + str(code) + '"')
+                               #list.append(' time="' + str(time) + '"')
+                               #list.append('>')
+                               #list.append(str(msg))
+                               #list.append('</log>\n')
 
                        
                        list.append('</timer>\n')