summaryrefslogtreecommitdiffstats
path: root/abs/core/func/msg.py
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-01-13 22:13:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-01-13 22:13:55 (GMT)
commit9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38 (patch)
tree4011a167011a0542eb38d34971e7e04f1928073e /abs/core/func/msg.py
parent717a40a4814c1cf025eb6a5bd2a526522d830538 (diff)
downloadlinhes_pkgbuild-9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38.zip
linhes_pkgbuild-9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38.tar.gz
linhes_pkgbuild-9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38.tar.bz2
func: msg.py: parse out pipe for wall
Diffstat (limited to 'abs/core/func/msg.py')
-rw-r--r--abs/core/func/msg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/func/msg.py b/abs/core/func/msg.py
index 3b34a83..0940382 100644
--- a/abs/core/func/msg.py
+++ b/abs/core/func/msg.py
@@ -29,8 +29,8 @@ class msg(func_module.FuncModule):
except:
text=flags
config_section="default"
- text=flags
- cmd = sub_process.Popen("/usr/LH/bin/msg_client.py --msg \"%s\" " % text,stdout=sub_process.PIPE,shell=True)
+
+ cmd = sub_process.Popen("/usr/LH/bin/msg_client.py --msg \"%s\" " % flags,stdout=sub_process.PIPE,shell=True)
data = cmd.communicate()[0]
cmd = sub_process.Popen("/usr/bin/echo -e \"%s\" | /usr/bin/wall" % text, stdout=sub_process.PIPE,shell=True)