Author: duncan
Date: Tue Jan 2 09:12:19 2007
New Revision: 8902
Modified:
branches/rel-1/freevo/src/tv/epg_xmltv.py
Log:
The date field is only providing the first character of the date
This change should return the whole word. AFAICS this field is never used.
Modified: branches/rel-1/freevo/src/tv/epg_xmltv.py
==============================================================================
--- branches/rel-1/freevo/src/tv/epg_xmltv.py (original)
+++ branches/rel-1/freevo/src/tv/epg_xmltv.py Tue Jan 2 09:12:19 2007
@@ -252,7 +252,7 @@
prog.channel_id = p['channel']
prog.title = Unicode(p['title'][0][0])
if p.has_key('date'):
- prog.date = Unicode(p['date'][0][0])
+ prog.date = Unicode(p['date'][0])
if p.has_key('category'):
prog.categories = [ cat[0] for cat in p['category'] ]
if p.has_key('rating'):
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog