From 5567ab3c062b67ff6f3822447d7e2ad293a87deb Mon Sep 17 00:00:00 2001 From: fwmarcel Date: Sat, 29 Oct 2016 15:47:35 +0200 Subject: [PATCH] FMS and ZVEI added --- plugins/yowsup/yowsup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/yowsup/yowsup.py b/plugins/yowsup/yowsup.py index fd63e47..b6841aa 100644 --- a/plugins/yowsup/yowsup.py +++ b/plugins/yowsup/yowsup.py @@ -39,13 +39,13 @@ def run(typ,freq,data): text = globalVars.config.get("yowsup","fms_message") text = wildcardHandler.replaceWildcards(text, data) cmd = 'yowsup-cli demos -l ' + sender + ':' + password + ' -s ' + empfaenger + ' "' + text + '" -M' - subprocess.call(shlex.split(cmd)) + subprocess.call(shlex.split(cmd), stdout=devnull, stderr=devnull) logging.debug("Message has been sent") elif typ == "ZVEI": text = globalVars.config.get("yowsup","zvei_message") text = wildcardHandler.replaceWildcards(text, data) cmd = 'yowsup-cli demos -l ' + sender + ':' + password + ' -s ' + empfaenger + ' "' + text + '" -M' - subprocess.call(shlex.split(cmd)) + subprocess.call(shlex.split(cmd), stdout=devnull, stderr=devnull) logging.debug("Message has been sent") elif typ == "POC": try: