mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-10-23 04:58:16 +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
|
trials -= 1
|
||||||
else:
|
else:
|
||||||
webauth = WebAuth()
|
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_prompt_username = input("Steam Username: ")
|
||||||
webauth.cli_login(webauth_prompt_username)
|
webauth.cli_login(webauth_prompt_username)
|
||||||
else:
|
|
||||||
webauth.cli_login(USERNAME, PASSWORD)
|
|
||||||
client.login(webauth.username, access_token=webauth.refresh_token)
|
client.login(webauth.username, access_token=webauth.refresh_token)
|
||||||
|
|
||||||
# read and prepend top_owners_ids.txt
|
# read and prepend top_owners_ids.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user