Skip to content

Commit

Permalink
fix:重复创建设备信息 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azusa-Yuan authored Oct 6, 2024
1 parent ad73e98 commit 3c70047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gocq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func LoginInteract() {
} else {
log.Info("将使用 device.json 内的设备信息运行Bot.")
var err error
if device, err = auth.LoadOrSaveDevice("device"); err != nil {
if device, err = auth.LoadOrSaveDevice("device.json"); err != nil {
log.Fatalf("加载设备信息失败: %v", err)
}
}
Expand Down

0 comments on commit 3c70047

Please sign in to comment.