convert event_id from string to long
[enigma2.git] / RecordTimer.py
index 3802ac7..46a4382 100644 (file)
@@ -181,7 +181,7 @@ def createTimer(xml):
        serviceref = ServiceReference(str(xml.getAttribute("serviceref")))
        description = xml.getAttribute("description").encode("utf-8")
        repeated = xml.getAttribute("repeated").encode("utf-8")
-       eit = xml.getAttribute("eit").encode("utf-8")
+       eit = long(xml.getAttribute("eit").encode("utf-8"))
        name = xml.getAttribute("name").encode("utf-8")
        #filename = xml.getAttribute("filename").encode("utf-8")
        entry = RecordTimerEntry(serviceref, begin, end, name, description, eit)