This commit is contained in:
Kovid Goyal 2008-05-12 16:04:38 -07:00
parent 3208e0439b
commit e879779387

View File

@ -257,7 +257,7 @@ class Main(MainWindow, Ui_MainWindow):
Called once metadata has been read for all books on the device. Called once metadata has been read for all books on the device.
''' '''
if exception: if exception:
if 'ExpatError' in str(exception): if 'not well-formed' in str(exception):
error_dialog(self, _('Device database corrupted'), error_dialog(self, _('Device database corrupted'),
_(''' _('''
<p>The database of books on the reader is corrupted. Try the following: <p>The database of books on the reader is corrupted. Try the following: