fsogsmd expects props['status-report-request'] being set to 0 or 1.
Thus we set it to 0 if no report is wanted. With that messages can
be sent without status-report-request set to yes in GUI.

Signed-off-by: Jakob Drexel <jak...@rommel.stw.uni-erlangen.de>
---
 opimd_utils/opimd_reply.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/opimd_utils/opimd_reply.py b/opimd_utils/opimd_reply.py
index 051b92d..de864e4 100644
--- a/opimd_utils/opimd_reply.py
+++ b/opimd_utils/opimd_reply.py
@@ -137,6 +137,8 @@ def send_msg(to, entry, bus, inwin, win, func_ok, func_err, 
func_status, *args,
   props = {}
   if ops['report']:
     props['status-report-request']=1
+  else:
+    props['status-report-request']=0
   if ops['class']:
     props['message-class']=0
 
-- 
1.8.5.5

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to