tools.py改动

This commit is contained in:
Womsxd 2022-08-13 10:51:04 +08:00
parent 4030369545
commit d5b270ec7e
No known key found for this signature in database
GPG Key ID: 0FE76418EE689B68

View File

@ -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"]))
# 获取签到的奖励名称