MisterWil / skybellpy

A thin Python wrapper for the Skybell alarm API
MIT License
9 stars 7 forks source link

Handle empty cache file #10

Closed austinmroczek closed 5 years ago

austinmroczek commented 5 years ago

I added two commits toward fixing issue #9

First, added a test case in test_skybell.py and ran 'tox' showing that it is in fact a problem.

Second, updated init.py to check for a zero size file, and if so remove it.

Third, re-ran test case in 'tox' showing it works now.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling b8aac9996d59a9df7cb804399110dfd3db96c0ba on austinmroczek:master into 40968315dd241affae3d45c422d3dba11f2f81c3 on MisterWil:master.

austinmroczek commented 5 years ago

@MisterWil please take a look