Keep db away from git.

This commit is contained in:
mattbk
2017-11-16 02:58:36 +00:00
parent 8499c457fd
commit a9cff8ba29
4 changed files with 2 additions and 1 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!