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
This commit is contained in:
Paweł Lidwin 2026-04-13 12:39:47 +02:00
parent e155486902
commit 408fcce78b
No known key found for this signature in database
GPG key ID: C6EDF064F9FEE1E1

View file

@ -82,7 +82,7 @@ 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):
self.inject_js = False
logger.debug('Got exchange code (stage 1)!')
# The default Windows webview retains cookies, GTK/Qt do not. Therefore we can