mirror of
https://github.com/derrod/legendary.git
synced 2026-05-06 14:13:20 +00:00
fix: add 3rd param to setexchangecode callback (#745)
* fix: add 3rd param to setexchangecode callback I'm unsure what that param is, it could be an error indicator of some sorts, for now I'll just assume a happy path * chore: add logging for the param
This commit is contained in:
parent
ce12e3fb63
commit
41e3cfab82
|
|
@ -82,7 +82,9 @@ class MockLauncher:
|
|||
def open_url_external(self, url):
|
||||
webbrowser.open(url)
|
||||
|
||||
def set_exchange_code(self, exchange_code):
|
||||
def set_exchange_code(self, exchange_code, param):
|
||||
if param:
|
||||
logger.warning(f'Unknown parameter provided: {param}. Please report it on GitHub')
|
||||
self.inject_js = False
|
||||
logger.debug('Got exchange code (stage 1)!')
|
||||
# The default Windows webview retains cookies, GTK/Qt do not. Therefore we can
|
||||
|
|
|
|||
Loading…
Reference in a new issue