diff --git a/src/libprs500/gui2/main.py b/src/libprs500/gui2/main.py index 82129c09ca..613793256b 100644 --- a/src/libprs500/gui2/main.py +++ b/src/libprs500/gui2/main.py @@ -256,7 +256,17 @@ class Main(MainWindow, Ui_MainWindow): Called once metadata has been read for all books on the device. ''' if exception: - self.device_job_exception(id, description, exception, formatted_traceback) + if 'ExpatError' in str(exception): + error_dialog(self, _('Device database corrupted'), + _(''' +
The database of books on the reader is corrupted. Try the following: +