mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2024-11-16 04:35:51 +00:00
parent
e5b1157519
commit
1ef607c1fc
@ -107,9 +107,10 @@ def format_config(config: dict) -> dict:
|
||||
i['uid'] = str(i.get('uid'))
|
||||
i['user-agent'] = str(i.get('user-agent'))
|
||||
i['board-id'] = str(i.get('board-id'))
|
||||
i['password'] = str(i.get('password')).upper()
|
||||
if len(i.get('password')) != 32:
|
||||
i['password'] = md5_crypto(i.get('password')).upper()
|
||||
else:
|
||||
i['password'] = str(i.get('password')).upper()
|
||||
if i.get('device-id'):
|
||||
i['device-id'] = str(i.get('device-id'))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user