convert event_id from string to long
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 20 Jan 2006 23:12:00 +0000 (23:12 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 20 Jan 2006 23:12:00 +0000 (23:12 +0000)
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")
        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)
        name = xml.getAttribute("name").encode("utf-8")
        #filename = xml.getAttribute("filename").encode("utf-8")
        entry = RecordTimerEntry(serviceref, begin, end, name, description, eit)