Change None to u'' for printing

Fixes: https://launchpad.net/bugs/855368
This commit is contained in:
Tim Bentley 2011-09-21 18:23:04 +01:00
parent 47b7379967
commit 58695ac6f6

View File

@ -466,7 +466,7 @@ class ServiceItem(object):
'<strong>Length</strong>: %s')) % \ '<strong>Length</strong>: %s')) % \
unicode(datetime.timedelta(seconds=self.media_length)) unicode(datetime.timedelta(seconds=self.media_length))
if not start and not end: if not start and not end:
return None return u''
elif start and not end: elif start and not end:
return start return start
elif not start and end: elif not start and end: