In article <fa813679-775a-b6c0-5b2a-4bfb2c117...@sysnux.pf>,
Jean-Denis Girard <jd.gir...@sysnux.pf> wrote:
> Le 20/07/2019 à 12:21, Tony Mountifield a écrit :
> > What is the bug with channel variables? Do you have a fix for it?
> 
> Channels variables caused an error, my fix is in aioswagger11/client.py
> (line 80) :
>                 elif param['paramType'] == 'body':
> <                    if not data:
> <                        data = {}
> <                    data[pname] = value
> >                    if isinstance(value, dict):
> >                        if data:
> >                            data.update(value)
> >                        else:
> >                            data = value
> >                    else:
> >                        raise TypeError("Parameters of type 'body'
> require dict input")
> 
> I know, I should fork and make a pull request...

Great, thanks!

Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to