From 959087814b5cd0bcc1a553c9f81e67c89a4ad0fb Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Fri, 8 Oct 2021 15:31:31 +0800 Subject: [PATCH] update --- im/qq/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/im/qq/main.go b/im/qq/main.go index 4369a51..0a9abfb 100644 --- a/im/qq/main.go +++ b/im/qq/main.go @@ -106,7 +106,7 @@ func start() { mkCacheDir(global.VideoPath, "视频") mkCacheDir(global.CachePath, "发送图片") - if device := qq.Get("device.json"); device == "" { + if device := qq.Get("device.json"); device == "" || device == "{}" { client.GenRandomDevice() qq.Set("device.json", string(client.SystemDeviceInfo.ToJson())) } else {