Einstein42 / myq-garage

Python Chamberlain Garage Door interface
MIT License
36 stars 16 forks source link

USE_ISY variable is not reading in as a boolean #3

Closed cmgj74 closed 7 years ago

cmgj74 commented 8 years ago

USE_ISY variable is not reading in as a boolean

I don't have ISY, so I set it to False.

It still thought it was set to True.

per this: http://stackoverflow.com/questions/12750778/booleans-in-configparser-always-return-true

USE_ISY = config.get('ISYConfiguration', 'USE_ISY') should be: USE_ISY = config.getboolean('ISYConfiguration', 'USE_ISY')

Thanks!

Einstein42 commented 8 years ago

Go ahead and fix it, I'll approve a merge request. I apologize, but I haven't had time to work on this is a long time.

cmgj74 commented 8 years ago

Ok, I fixed it.