kopia lustrzana https://codeberg.org/argrento/huami-token
Do not ask password if login method is xiaomi
rodzic
3c4190df0c
commit
d02a6a1e1e
|
|
@ -242,7 +242,7 @@ if __name__ == "__main__":
|
|||
table.add_column("MAC", style="dim", width=17, justify='center')
|
||||
table.add_column("auth_key", width=50, justify='center')
|
||||
|
||||
if args.password is None:
|
||||
if args.password is None and args.method == "amazfit":
|
||||
args.password = getpass.getpass()
|
||||
|
||||
device = HuamiAmazfit(method=args.method,
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue