From 6cf45cecbe339d96695a279b57d08fa4e6034551 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 25 Jun 2009 11:44:21 -0700 Subject: [PATCH] Fix #2709 (Unhandled Exception when adding meta data & covers) --- src/calibre/gui2/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index ee4ccd43d9..fdf630c620 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -934,9 +934,9 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI): details = ['%s: %s'%(title, reason) for title, reason in x.failures.values()] details = '%s\n'%('\n'.join(details)) - warning_dialog(_('Failed to download some metadata'), + warning_dialog(self, _('Failed to download some metadata'), _('Failed to download metadata for the following:'), - details, self).exec_() + det_msg=details).exec_() else: err = _('Failed to download metadata:') error_dialog(self, _('Error'), err, det_msg=x.tb).exec_()