UedaTakeyuki / mh-z19

Read CO2 concentration from mh-z19 sensor on the Raspberry Pi & handle it. Detect Raspberry Pi model automatically and read the value from an appropriate serial device.
MIT License
182 stars 37 forks source link

Fix JSON validity #4

Closed profi248 closed 5 years ago

profi248 commented 5 years ago

The output of the command had single quotes, which are not allowed in the JSON standard. So I tried to fix this by encoding Python dict as JSON and outputting that.

UedaTakeyuki commented 5 years ago

Hi, David.

Thank you for your fix!

profi248 commented 5 years ago

Glad I could help! Thanks for making this library.