mirror of
https://gitea.massivebox.net/massivebox/ecodash.git
synced 2025-01-15 21:27:31 +01:00
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…
x
Reference in New Issue
Block a user