From d5b270ec7e7d55d667521a9483ba36ace21aa2b7 Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sat, 13 Aug 2022 10:51:04 +0800 Subject: [PATCH] =?UTF-8?q?tools.py=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools.py b/tools.py index 894568e..f00b61d 100644 --- a/tools.py +++ b/tools.py @@ -38,8 +38,7 @@ def get_ds(web: bool) -> str: # 生成一个device id def get_device_id() -> str: - return str(uuid.uuid3(uuid.NAMESPACE_URL, config.config["account"]["cookie"])).replace( - '-', '').upper() + return str(uuid.uuid3(uuid.NAMESPACE_URL, config.config["account"]["cookie"])) # 获取签到的奖励名称