forked from openlp/openlp
Replace u'' for None
bzr-revno: 1755 Fixes: https://launchpad.net/bugs/855368
This commit is contained in:
commit
0e2d6cb45f
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user