From c87ae50433ed86f7db68b5ea79d7e3dc604db96c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 28 Jan 2011 09:03:51 -0700 Subject: [PATCH] ... --- src/calibre/gui2/dialogs/metadata_single.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/dialogs/metadata_single.py b/src/calibre/gui2/dialogs/metadata_single.py index ca2ccfa6d5..9156ef7101 100644 --- a/src/calibre/gui2/dialogs/metadata_single.py +++ b/src/calibre/gui2/dialogs/metadata_single.py @@ -209,7 +209,7 @@ class MetadataSingleDialog(ResizableDialog, Ui_MetadataSingleDialog): title = unicode(self.title.text()).strip() author = unicode(self.authors.text()).strip() if author.endswith('&'): - author = author[:-1] + author = author[:-1].strip() if not title or not author: return error_dialog(self, _('Specify title and author'), _('You must specify a title and author before generating '