Commit 911e4ca0 authored by Angus Ainslie's avatar Angus Ainslie
Browse files

Change the directory and make it if it doesn't exist

parent 016550c0
......@@ -21,10 +21,13 @@ ssid = ''
igLogin = ''
igPass = ''
msgId = 0
dbPath = "/var/lib/aprs"
dbPath = "/data/lib/aprs"
dbName = "messages.db"
dbFile = os.path.join( dbPath, dbName )
if not os.path.exists(dbPath):
os.makedirs(dbPath)
def parse_frame(frame):
msgId = None
try :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment