[cli] I a word when opening the auth/link URLs

This commit is contained in:
derrod 2021-12-03 17:54:14 +01:00
parent e1b5245252
commit db1a6706e4

View file

@ -153,7 +153,7 @@ class LegendaryCLI:
'https://www.epicgames.com/id/login?redirectUrl=' 'https://www.epicgames.com/id/login?redirectUrl='
'https%3A%2F%2Fwww.epicgames.com%2Fid%2Fapi%2Fredirect' 'https%3A%2F%2Fwww.epicgames.com%2Fid%2Fapi%2Fredirect'
) )
print('If web page did not open automatically, please manually open the following URL: ' print('If the web page did not open automatically, please manually open the following URL: '
'https://www.epicgames.com/id/login?redirectUrl=https://www.epicgames.com/id/api/redirect') 'https://www.epicgames.com/id/login?redirectUrl=https://www.epicgames.com/id/api/redirect')
sid = input('Please enter the "sid" value from the JSON response: ') sid = input('Please enter the "sid" value from the JSON response: ')
sid = sid.strip() sid = sid.strip()
@ -1748,7 +1748,7 @@ class LegendaryCLI:
else: else:
logger.error('No linked ubisoft account found! Please link your accounts via your browser and try again.') logger.error('No linked ubisoft account found! Please link your accounts via your browser and try again.')
webbrowser.open('https://www.epicgames.com/id/link/ubisoft') webbrowser.open('https://www.epicgames.com/id/link/ubisoft')
print('If web page did not open automatically, please manually open the following URL: ' print('If the web page did not open automatically, please manually open the following URL: '
'https://www.epicgames.com/id/link/ubisoft') 'https://www.epicgames.com/id/link/ubisoft')
return return