forked from massivebox/ecodash
Fixup
This commit is contained in:
parent
2061e3c45f
commit
79f901810b
|
@ -62,7 +62,7 @@ func formatURL(url string) (string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func LoadConfig() (config *Config, isFirstRun bool, err error) {
|
func LoadConfig() (config *Config, isFirstRun bool, err error) {
|
||||||
db, err := sql.Open("sqlite3", "./database.db")
|
db, err := sql.Open("sqlite", "./database.db")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return &Config{}, false, err
|
return &Config{}, false, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue