コード例 #1
0
ファイル: check_links.py プロジェクト: aimylios/calibre
 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)
コード例 #2
0
ファイル: check_links.py プロジェクト: kovidgoyal/calibre
 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)