fix Crash logfile can't create  bugs
Merge branch 'master' of https://github.com/justek-Wade/SmartHome.git