This commit is contained in:
cdle
2021-10-08 15:31:31 +08:00
parent e8997bfb20
commit 959087814b
+1 -1
View File
@@ -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 {