forked from openlp/openlp
If no copyright info is given for bible, don't print it. Fixes bug 1420785.
Fixes: https://launchpad.net/bugs/1420785
This commit is contained in:
parent
340a766bba
commit
c3dc1e1a78
@ -82,9 +82,11 @@ class VerseReferenceList(object):
|
|||||||
if result[-1] not in [';', ',', '.']:
|
if result[-1] not in [';', ',', '.']:
|
||||||
result += ';'
|
result += ';'
|
||||||
result += ' '
|
result += ' '
|
||||||
result = '%s%s, %s' % (result, version['version'], version['copyright'])
|
result += version['version']
|
||||||
|
if version['copyright'].strip():
|
||||||
|
result += ', ' + version['copyright']
|
||||||
if version['permission'].strip():
|
if version['permission'].strip():
|
||||||
result = result + ', ' + version['permission']
|
result += ', ' + version['permission']
|
||||||
result = result.rstrip()
|
result = result.rstrip()
|
||||||
if result.endswith(','):
|
if result.endswith(','):
|
||||||
return result[:len(result) - 1]
|
return result[:len(result) - 1]
|
||||||
|
Loading…
Reference in New Issue
Block a user