Author: dmeyer
Date: Fri Apr  7 20:25:47 2006
New Revision: 1392

Modified:
   trunk/epg/src/source_xmltv.py

Log:
commit changes at the end

Modified: trunk/epg/src/source_xmltv.py
==============================================================================
--- trunk/epg/src/source_xmltv.py       (original)
+++ trunk/epg/src/source_xmltv.py       Fri Apr  7 20:25:47 2006
@@ -36,7 +36,7 @@
 import logging
 
 # kaa imports
-from kaa import xml
+from kaa import xml, TEMP
 from kaa.config import Var, Group
 from kaa.notifier import Timer, Thread
 
@@ -237,8 +237,8 @@
     """
     if config.grabber:
         log.info('grabbing listings using %s', config.grabber)
-        xmltv_file = os.path.join(kaa.TEMP, 'TV.xml')
-        log_file = os.path.join(kaa.TEMP, 'TV.xml.log')
+        xmltv_file = os.path.join(TEMP, 'TV.xml')
+        log_file = os.path.join(TEMP, 'TV.xml.log')
         # TODO: using os.system is ugly because it blocks ... but we can make 
this
         # nicer using kaa.notifier.Process later. We are inside a thread so it
         # seems to be ok.
@@ -318,6 +318,7 @@
     if not info.node:
         info.epg.signals["update_progress"].emit(info.cur, info.total)
         info.epg.signals["updated"].emit()
+        info.epg.commit()
         return False
 
     return True


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to