fix trailing comma in pathological cases

This commit is contained in:
Paul Franklin 2015-01-31 16:57:28 -08:00
parent 46146a4893
commit 83da6e241c

View File

@ -826,6 +826,8 @@ class IndivCompleteReport(Report):
return prior
txt = Endnotes.cite_source(self.bibli, self._db, obj)
if not txt:
return prior
if prior:
# translators: needed for Arabic, ignore otherwise
txt = self._('%(str1)s, %(str2)s') % {'str1':prior, 'str2':txt}