summaryrefslogtreecommitdiffstats
path: root/abs/core/func/msg.py
diff options
context:
space:
mode:
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)