Exemplo n.º 1
0
 def run(self):
     from calibre.ebooks.oeb.polish.check.links import check_external_links
     self.tb = None
     self.errors = []
     try:
         self.errors = check_external_links(current_container(), self.progress_made.emit, check_anchors=self.check_anchors.isChecked())
     except Exception:
         import traceback
         self.tb = traceback.format_exc()
     self.progress_made.emit(None, None)
Exemplo n.º 2
0
 def run(self):
     from calibre.ebooks.oeb.polish.check.links import check_external_links
     self.tb = None
     self.errors = []
     try:
         self.errors = check_external_links(current_container(), self.progress_made.emit, check_anchors=self.check_anchors.isChecked())
     except Exception:
         import traceback
         self.tb = traceback.format_exc()
     self.progress_made.emit(None, None)