diff --git a/README.md b/README.md index 4ebbcfe..53d85df 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,9 @@ The th.c code was modified so that a forth column in MySQL is used (an auto incr Using a thd init script means that we don't need to modify /etc/rc.local - which is useful for me as this file is used by other projects and can be overwritten at times. +## UPDATED - 23 June 2015 +Fixed a bug in the code where the script would crash as I hadn't passed the temperature and humidity difference tolerances allowed to the loop. If an erroneous reading was made, the script would crash. + ## UPDATED - 19 June 2015 The updateMysql.py script has been updated to provide a method of retrying failed MySQL updates. Primarily this was added so that when the server is booted up, the daemon version of the code can retry a number of times before giving up, as the MySQL server will not necessarily have finished starting up. diff --git a/TODO b/TODO index 5312f2e..19f708a 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,3 @@ ## TO DO LIST - - Update the updateMysql.py script to include some error handling code. It probably crashes out if the MySQL operation fails. Better to handle this rather than have it simply crash.a - - - Update the daemon script so that the python script is daemonised. - - Possibly update the python script to become a daemon itself, e.g. using python-daemon module.