From 294659add1082f4a2333871f2a45fe0ec22fa2a7 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 16 Aug 2024 22:08:39 +0200 Subject: flags --- src/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db.go') diff --git a/src/db.go b/src/db.go index e36cf21..47d8158 100644 --- a/src/db.go +++ b/src/db.go @@ -112,7 +112,7 @@ type State struct { } func NewState() (*State, error) { - db, err := sql.Open("sqlite3", database_file) + db, err := sql.Open("sqlite3", databasePath) if err != nil { log.Println("Error opening the db: ", err) return nil, err -- cgit 1.4.1