✏️ 尝试解决win下路径异常

This commit is contained in:
fumiama
2021-10-24 18:13:12 +08:00
parent 3a5e391191
commit a3685e2e83
8 changed files with 49 additions and 22 deletions

View File

@@ -19,8 +19,7 @@ import (
)
var (
botpath, _ = os.Getwd()
datapath = botpath + "/data/saucenao/"
datapath = file.BOT_PATH + "/data/saucenao/"
)
func init() { // 插件主体