From 090a25f53211cc32b49cccb37f2eaf06ed36139b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 24 Jan 2009 12:02:49 -0800 Subject: [PATCH] IGN:... --- src/calibre/ebooks/metadata/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/__init__.py b/src/calibre/ebooks/metadata/__init__.py index 856133d1ce..c7d667c831 100644 --- a/src/calibre/ebooks/metadata/__init__.py +++ b/src/calibre/ebooks/metadata/__init__.py @@ -22,7 +22,7 @@ def string_to_authors(raw): def authors_to_string(authors): if authors is not None: - return ' & '.join([a.replace('&', '&&') for a in authors]) + return ' & '.join([a.replace('&', '&&') for a in authors if a]) else: return ''