Commit Diff


commit - 671e26101c849a1f7c05165811e8f885f53aa7c5
commit + c1a46592745a692a3eb261126893da56b55d5bfa
blob - 03cd0e36276951bda9bc56e0ef2dd8c4c3c1e3f3
blob + 580a334c5684f8b08eb718ecbe14b5cf4ef97d90
--- lonk.py
+++ lonk.py
@@ -587,7 +587,7 @@ def new_client_stage_3_ask_password(cert_hash, lonk_ur
     db_con = db_connect()
     with db_con:
         db_con.execute(
-            "INSERT INTO client (cert_hash, honk_url, token) VALUES (?, ?, ?) ON CONFLICT REPLACE",
+            "INSERT OR REPLACE INTO client (cert_hash, honk_url, token) VALUES (?, ?, ?)",
             (cert_hash, honk_url, token)
         )
     print(f'30 {lonk_url.build([])}\r')