Ejemplo n.º 1
0
 def download_resources(self, resources):
     tb = None
     try:
         ret = download_external_resources(current_container(), resources, progress_report=self.progress.emit)
     except Exception as err:
         import traceback
         ret, tb = err, traceback.format_exc()
     self.download_done.emit(ret, tb)
Ejemplo n.º 2
0
 def download_resources(self, resources):
     tb = None
     try:
         ret = download_external_resources(current_container(), resources, progress_report=self.progress.emit)
     except Exception as err:
         import traceback
         ret, tb = err, traceback.format_exc()
     self.download_done.emit(ret, tb)