From 58695ac6f62cc07cc2ba34775d97d53e61014420 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 21 Sep 2011 18:23:04 +0100 Subject: [PATCH] Change None to u'' for printing Fixes: https://launchpad.net/bugs/855368 --- openlp/core/lib/serviceitem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/lib/serviceitem.py b/openlp/core/lib/serviceitem.py index 05a1128b1..3170e0a93 100644 --- a/openlp/core/lib/serviceitem.py +++ b/openlp/core/lib/serviceitem.py @@ -466,7 +466,7 @@ class ServiceItem(object): 'Length: %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: