maximvelichko / pyvera

A python library to control devices via the Vera hub
GNU General Public License v2.0
26 stars 30 forks source link

Modify parser to handle UserNames that contain space characters. #118

Closed colohan closed 4 years ago

colohan commented 4 years ago

On my Vera some of my UserNames for my locks have both a firstname and lastname listed, with a space as a separator (such as UserName="Jane Smith"). This caused this library to fail to parse them. Using shlex to split strings handles this case properly since it pays attention to the quoting.

pavoni commented 4 years ago

Now released as 0.3.5. Thanks for the contribution.