def __init__(self, title, nodes, thead, view): ReportPageFragment.__init__(self, title) self.nodes = nodes self.thead = thead self.view = view self.extract = Extract() self.filepath = None self.thumbpath = None if QApplication.instance(): self.gui = True else: self.gui = False
def __init__(self): Script.__init__(self, "extract") EventHandler.__init__(self) self.vfs = vfs.vfs() self.extractor = Extract() self.extractor.connection(self)