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
1 changed files with 1 additions and 1 deletions

View File

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