mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
✏️ 尝试解决win下路径异常
This commit is contained in:
@@ -19,8 +19,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
botpath, _ = os.Getwd()
|
||||
datapath = botpath + "/data/saucenao/"
|
||||
datapath = file.BOT_PATH + "/data/saucenao/"
|
||||
)
|
||||
|
||||
func init() { // 插件主体
|
||||
|
||||
Reference in New Issue
Block a user