Skip to content

Commit

Permalink
v0.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gotoeasy committed Sep 10, 2024
1 parent b9da541 commit 2c96fed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glc/ldb/tokenizer/tokenizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package tokenizer
import (
"embed"
"glc/conf"
"path/filepath"

"github.com/gotoeasy/glang/cmn"
)
Expand All @@ -25,7 +26,7 @@ func init() {
if !cmn.IsExistFile(defaultDictFile) {
bts, err := dictionary.ReadFile("dict.zip")
if err == nil {
cmn.UnZipBytes(bts, defaultDictFile)
cmn.UnZipBytes(bts, filepath.Dir(defaultDictFile))
}
}

Expand Down

0 comments on commit 2c96fed

Please sign in to comment.