Bug fix for source == None

svn: r14363
This commit is contained in:
Doug Blank 2010-02-14 13:34:23 +00:00
parent 9b5f320c93
commit b2ca292389

View File

@ -151,6 +151,8 @@ def write_endnotes(bibliography, database, doc, printnotes=False):
ind += 1 ind += 1
def _format_source_text(source): def _format_source_text(source):
if not source: return ""
src_txt = "" src_txt = ""
if source.get_author(): if source.get_author():