electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit e34b72bbf7f31eb91166a76ac36db12e49b55ebb
parent 27da96c1f80bfb5b744547894e1977978655f3f8
Author: ThomasV <electrumdev@gmail.com>
Date:   Thu,  5 Feb 2015 15:03:13 +0100

Merge pull request #1008 from romanz/master

audio_modem: update plugin to work with latest amodem version.
Diffstat:
Mplugins/audio_modem.py | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/plugins/audio_modem.py b/plugins/audio_modem.py @@ -15,8 +15,7 @@ import platform try: import amodem.audio - import amodem.recv - import amodem.send + import amodem.main import amodem.config print_error('Audio MODEM is available.') amodem.log.addHandler(amodem.logging.StreamHandler(sys.stderr)) @@ -115,7 +114,7 @@ class Plugin(BasePlugin): with self._audio_interface() as interface: src = BytesIO(blob) dst = interface.player() - amodem.send.main(config=self.modem_config, src=src, dst=dst) + amodem.main.send(config=self.modem_config, src=src, dst=dst) except Exception: traceback.print_exc() @@ -132,7 +131,7 @@ class Plugin(BasePlugin): with self._audio_interface() as interface: src = interface.recorder() dst = BytesIO() - amodem.recv.main(config=self.modem_config, src=src, dst=dst) + amodem.main.recv(config=self.modem_config, src=src, dst=dst) return dst.getvalue() except Exception: traceback.print_exc()