eric6/Utilities/BackgroundClient.py

changeset 8267
6baca884c73a
parent 8264
f95dde35d0ab
child 8273
698ae46f40a4
child 8307
01a323d3d4d7
equal deleted inserted replaced
8266:560547c2b6ec 8267:6baca884c73a
64 with contextlib.suppress(AttributeError): 64 with contextlib.suppress(AttributeError):
65 self.batchServices["batch_" + fn] = ( 65 self.batchServices["batch_" + fn] = (
66 importedModule.initBatchService() 66 importedModule.initBatchService()
67 ) 67 )
68 return 'ok' 68 return 'ok'
69 except ImportError: 69 except ImportError as err:
70 return 'Import Error' 70 return 'Import Error: ' + str(err)
71 except Exception as err: 71 except Exception as err:
72 return str(err) 72 return str(err)
73 73
74 def __send(self, fx, fn, data): 74 def __send(self, fx, fn, data):
75 """ 75 """

eric ide

mercurial