mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🎨 Modify the device id generation method (#18)
Modify the device id generation method
This commit is contained in:
parent
1578a608ca
commit
9905c787c5
@ -120,7 +120,7 @@ class BaseMysApi:
|
|||||||
...
|
...
|
||||||
|
|
||||||
def get_device_id(self) -> str:
|
def get_device_id(self) -> str:
|
||||||
device_id = uuid.uuid4().hex
|
device_id = str(uuid.uuid4()).upper()
|
||||||
return device_id
|
return device_id
|
||||||
|
|
||||||
def generate_seed(self, length: int):
|
def generate_seed(self, length: int):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user