commit 09f4359f62bb80e2c213fc078c40dd3afb3a9f79
parent 576954555cc0d226cb914a96f7e54ac761b1af85
Author: ThomasV <thomasv@gitorious>
Date: Fri, 23 Jan 2015 00:20:59 +0100
don't display audio modem message on stdout
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/audio_modem.py b/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):