fix trailing comma in pathological cases
This commit is contained in:
parent
46146a4893
commit
83da6e241c
@ -826,6 +826,8 @@ class IndivCompleteReport(Report):
|
|||||||
return prior
|
return prior
|
||||||
|
|
||||||
txt = Endnotes.cite_source(self.bibli, self._db, obj)
|
txt = Endnotes.cite_source(self.bibli, self._db, obj)
|
||||||
|
if not txt:
|
||||||
|
return prior
|
||||||
if prior:
|
if prior:
|
||||||
# translators: needed for Arabic, ignore otherwise
|
# translators: needed for Arabic, ignore otherwise
|
||||||
txt = self._('%(str1)s, %(str2)s') % {'str1':prior, 'str2':txt}
|
txt = self._('%(str1)s, %(str2)s') % {'str1':prior, 'str2':txt}
|
||||||
|
Loading…
Reference in New Issue
Block a user