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 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
Beispiel #4
0
 def __init__(self, config, name):
     BasePlugin.__init__(self, config, name)
     self._is_available = self._init()
     self._requires_settings = True
     self.wallet = None
     self.handler = None
     self.client = None
     self.transport = 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
Beispiel #7
0
 def __init__(self, config, name):
     BasePlugin.__init__(self, config, name)
     self._is_available = self._init()
     self._requires_settings = True
     self.wallet = None
     self.handler = None
     self.client = None
     self.transport = None
 def __init__(self, gui, name):
     BasePlugin.__init__(self, gui, name)
     self._is_available = self._init()
     self.wallet = None
     self.handler = None