mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-10-22 20:48:17 +08:00
generate_emu_config: fixed login (2)
This commit is contained in:
parent
f81f83925f
commit
afbcc9451c
@ -727,11 +727,11 @@ def main():
|
||||
trials -= 1
|
||||
else:
|
||||
webauth = WebAuth()
|
||||
if (len(USERNAME) == 0 or len(PASSWORD) == 0):
|
||||
if (len(USERNAME) > 0 and len(PASSWORD) > 0):
|
||||
webauth.cli_login(USERNAME, PASSWORD)
|
||||
else:
|
||||
webauth_prompt_username = input("Steam Username: ")
|
||||
webauth.cli_login(webauth_prompt_username)
|
||||
else:
|
||||
webauth.cli_login(USERNAME, PASSWORD)
|
||||
client.login(webauth.username, access_token=webauth.refresh_token)
|
||||
|
||||
# read and prepend top_owners_ids.txt
|
||||
|
Loading…
Reference in New Issue
Block a user