mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-26 17:41:58 -06:00
Fix device auth recovery try block
This commit is contained in:
@@ -114,10 +114,12 @@ class DeviceAuthManager:
|
|||||||
""",
|
""",
|
||||||
(guid,),
|
(guid,),
|
||||||
)
|
)
|
||||||
row = cur.fetchone()
|
row = cur.fetchone()
|
||||||
|
|
||||||
if not row:
|
if not row:
|
||||||
row = self._recover_device_record(conn, guid, fingerprint, token_version, context_label)
|
row = self._recover_device_record(
|
||||||
|
conn, guid, fingerprint, token_version, context_label
|
||||||
|
)
|
||||||
finally:
|
finally:
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user