def __init__(self, config, name): BasePlugin.__init__(self, config, name) if self.is_available(): self.modem_config = amodem.config.slowest() self.library_name = { 'Linux': 'libportaudio.so' }[platform.system()]
def __init__(self, a, b): BasePlugin.__init__(self, a, b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "BTC-e")] # Do price discovery self.exchanger = Exchanger(self) self.exchanger.start() self.win = None
def close(self): BasePlugin.close(self) self.exchanger.stop() self.exchanger = None self.gui.exchanger = None self.send_fiat_e.hide() self.receive_fiat_e.hide() self.win.update_status()
def __init__(self,a,b): BasePlugin.__init__(self,a,b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "BTC-e")] # Do price discovery self.exchanger = Exchanger(self) self.exchanger.start() self.win = None
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = OA_READY self.print_error('OA_READY is ' + str(OA_READY))
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = self._init() self.wallet = None
def __init__(self, config, name): BasePlugin.__init__(self, config, name) self._is_available = self._init() self._requires_settings = True self.wallet = None
def __init__(self, config, name): BasePlugin.__init__(self, config, name) if self.is_available(): self.modem_config = amodem.config.slowest() self.library_name = {'Linux': 'libportaudio.so'}[platform.system()]