def debug_report(self): if hasattr(self, 'file'): dump = PluginThread.debug_report( self, self.plugin.__name__, file=self.file) else: dump = PluginThread.debug_report( self, self.plugin.__name__, plugin=self.plugin) return dump
def write_debug_report(self): if hasattr(self, "pyfile"): dump = PluginThread.write_debug_report( self, self.plugin.__name__, pyfile=self.pyfile) else: dump = PluginThread.write_debug_report( self, self.plugin.__name__, plugin=self.plugin) return dump
def __init__(self, core): PluginThread.__init__(self, core) self.plugin = None