Sync updates with elichika
As of https://github.com/YumeMichi/elichika/commit/81a78e964dcdb8bb2d123237f966f95e7fba190e Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
+1
-2
@@ -2,7 +2,6 @@ package database
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"honoka-chan/config"
|
||||
|
||||
"github.com/syndtr/goleveldb/leveldb"
|
||||
"github.com/syndtr/goleveldb/leveldb/util"
|
||||
@@ -22,7 +21,7 @@ func init() {
|
||||
}
|
||||
|
||||
func (ldb *LevelDbImpl) InitDb() {
|
||||
ldb.ldb, err = leveldb.OpenFile(config.Conf.LevelDb.DataPath, nil)
|
||||
ldb.ldb, err = leveldb.OpenFile("./data/honoka-chan.db", nil)
|
||||
if err != nil {
|
||||
panic(err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user