From e87977938754846d039549fbe712e27510bb32c4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 12 May 2008 16:04:38 -0700 Subject: [PATCH] IGN:... --- src/calibre/gui2/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index 609946ec98..f6354b2522 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -257,7 +257,7 @@ class Main(MainWindow, Ui_MainWindow): Called once metadata has been read for all books on the device. ''' if exception: - if 'ExpatError' in str(exception): + if 'not well-formed' in str(exception): error_dialog(self, _('Device database corrupted'), _('''

The database of books on the reader is corrupted. Try the following: