Applied, thanks!

On Sun, May 18, 2014 at 10:25 PM, Jakob Drexel
<jak...@rommel.stw.uni-erlangen.de> wrote:
> 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



-- 
Sebastian Krzyszkowiak, dos
http://dosowisko.net/
_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to