This commit is contained in:
Kovid Goyal 2025-07-09 08:45:01 +05:30
parent cfd1dc75bf
commit 2b6acffd57
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -302,7 +302,7 @@ class Restore(Thread):
try: try:
db.restore_book(book['id'], book['mi'], utcfromtimestamp(book['timestamp']), book['path'], book['formats'], book['annotations']) db.restore_book(book['id'], book['mi'], utcfromtimestamp(book['timestamp']), book['path'], book['formats'], book['annotations'])
self.successes += 1 self.successes += 1
except: except Exception:
self.failed_restores.append((book, traceback.format_exc())) self.failed_restores.append((book, traceback.format_exc()))
traceback.print_exc() traceback.print_exc()
self.progress_callback(book['mi'].title, i+1) self.progress_callback(book['mi'].title, i+1)