def __init__(self, config, network, app=None): self.network = network self.config = config self.windows = [] self.efilter = OpenFileEventFilter(self.windows) if app is None: self.app = QApplication(sys.argv) self.app.installEventFilter(self.efilter) init_plugins(self)
def __init__(self, config, network, app=None): self.network = network self.config = config self.windows = [] #new values self.wallet = None self.storage = None self.timer = None #end new values self.efilter = OpenFileEventFilter(self.windows) if app is None: self.app = QApplication(sys.argv) self.app.installEventFilter(self.efilter) init_plugins(self)