Fix the esi problem for Serenity when setting

This commit is contained in:
正汰
2024-02-23 02:47:59 +08:00
parent 6e3b7ff132
commit 94b1c8b029

View File

@@ -112,7 +112,7 @@ class Esi(EsiAccess):
s = re.search(r'(?<=code=)[a-zA-Z0-9\-_]*', dlg.ssoInfoCtrl.Value.strip())
if s:
# skip state verification and go directly through the auth code processing
self.handleLogin(s.group)
self.handleLogin(s.group(0))
else:
pass
# todo: throw error