commit - 671e26101c849a1f7c05165811e8f885f53aa7c5
commit + c1a46592745a692a3eb261126893da56b55d5bfa
blob - 03cd0e36276951bda9bc56e0ef2dd8c4c3c1e3f3
blob + 580a334c5684f8b08eb718ecbe14b5cf4ef97d90
--- lonk.py
+++ lonk.py
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')