Let's use /mnt/usb/data.db for storing the SQLite db
This commit is contained in:
@@ -12,7 +12,7 @@ from pycomm.ab_comm.clx import Driver as ClxDriver
|
||||
import logging
|
||||
|
||||
# con = lite.connect("/usr/db/data.db")
|
||||
con = lite.connect('/home/pi/data.db')
|
||||
con = lite.connect('/mnt/usb/data.db')
|
||||
|
||||
|
||||
def readTag(addr, tag):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// var dbFile = "/usr/db/data.db";
|
||||
var dbFile = "/home/pi/data.db";
|
||||
var dbFile = "/mnt/usb/data.db";
|
||||
// var dbFile = '/Users/patrickjmcd/data.db';
|
||||
|
||||
exports.getAllTags = function(req, res){
|
||||
|
||||
Reference in New Issue
Block a user