Aaaaaaaah.

This commit is contained in:
mattbk
2017-11-16 03:12:41 +00:00
parent 59504da8e4
commit 080e122b95
5 changed files with 63 additions and 65 deletions

View File

@ -39,7 +39,7 @@ import sys
import Adafruit_DHT
def log_values(sensor_id, temp, hum):
conn=sqlite3.connect('/home/pi/Documents/pi-temp/pi-temp.db') #It is important to provide an
conn=sqlite3.connect('/home/pi/Documents/pi-temp/pi_temp.db') #It is important to provide an
#absolute path to the database
#file, otherwise Cron won't be
#able to find it!