From 6dc5304bed4f26c41f8be0e60be5fc8fc9db5cb9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 27 Jan 2011 16:17:10 -0700 Subject: [PATCH] ... --- src/calibre/gui2/dialogs/metadata_single.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/gui2/dialogs/metadata_single.py b/src/calibre/gui2/dialogs/metadata_single.py index 00bc98cb17..ca2ccfa6d5 100644 --- a/src/calibre/gui2/dialogs/metadata_single.py +++ b/src/calibre/gui2/dialogs/metadata_single.py @@ -208,6 +208,8 @@ class MetadataSingleDialog(ResizableDialog, Ui_MetadataSingleDialog): from calibre.gui2 import config title = unicode(self.title.text()).strip() author = unicode(self.authors.text()).strip() + if author.endswith('&'): + author = author[:-1] if not title or not author: return error_dialog(self, _('Specify title and author'), _('You must specify a title and author before generating '