Bugfix
This commit is contained in:
parent
ba613fe15f
commit
8d9019e01b
@ -366,7 +366,7 @@ func (b *DB) GetValueList(path []string) ([]string, error) {
|
|||||||
var ret []string
|
var ret []string
|
||||||
if !b.dbIsOpen {
|
if !b.dbIsOpen {
|
||||||
if err = b.OpenDB(); err != nil {
|
if err = b.OpenDB(); err != nil {
|
||||||
return err
|
return ret, err
|
||||||
}
|
}
|
||||||
defer b.CloseDB()
|
defer b.CloseDB()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user