Author: rshortt
Date: Wed Mar 15 01:17:11 2006
New Revision: 8088
Modified:
trunk/webserver/src/pages/proginfo.py
Log:
description could be empty or None
Modified: trunk/webserver/src/pages/proginfo.py
==============================================================================
--- trunk/webserver/src/pages/proginfo.py (original)
+++ trunk/webserver/src/pages/proginfo.py Wed Mar 15 01:17:11 2006
@@ -62,7 +62,7 @@
prog = guide().search(channel = chan, time = starttime)[0]
log.debug('program: %s', prog.title)
- if prog.description == u'':
+ if prog.description in [u'', None]:
desc = (_('Sorry, the program description for ' \
'%s is unavailable.')) % ('<b>'+prog.title+'</b>')
else:
-------------------------------------------------------
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