diff --git a/src/calibre/ebooks/metadata/fb2.py b/src/calibre/ebooks/metadata/fb2.py index 576fbaa6fc..6e0d56dfa0 100644 --- a/src/calibre/ebooks/metadata/fb2.py +++ b/src/calibre/ebooks/metadata/fb2.py @@ -33,7 +33,10 @@ def get_metadata(stream): le = XPath('descendant::fb2:last-name')(au) if le: lname = tostring(le[0]) - author += ' '+lname + if author: + author += ' '+lname + else: + author = lname if author: authors.append(author) if len(authors) == 1 and author is not None: