Browse Source

don't display audio modem message on stdout

283
ThomasV 10 years ago
parent
commit
09f4359f62
  1. 6
      plugins/audio_modem.py

6
plugins/audio_modem.py

@ -1,6 +1,6 @@
from electrum.plugins import BasePlugin, hook
from electrum_gui.qt.util import WaitingDialog, EnterButton
from electrum.util import print_msg
from electrum.util import print_msg, print_error
from electrum.i18n import _
from PyQt4.QtGui import *
@ -18,12 +18,12 @@ try:
import amodem.recv
import amodem.send
import amodem.config
print_msg('Audio MODEM is available.')
print_error('Audio MODEM is available.')
amodem.log.addHandler(amodem.logging.StreamHandler(sys.stderr))
amodem.log.setLevel(amodem.logging.INFO)
except ImportError:
amodem = None
print_msg('Audio MODEM is not found.')
print_error('Audio MODEM is not found.')
class Plugin(BasePlugin):

Loading…
Cancel
Save