Python db3 I can't insert

from phBot import *
import sqlite3

def acc():
dir=str(get_config_dir())+'Acc.db3'
con = sqlite3.connect(dir)
cur = con.cursor()
cur.execute= "INSERT INTO Acc VALUES ('Text1', 'Text1', 123)"
con.commit()
con.close()
print(cur.rowcount, "record inserted.")

image

I was sleepy at night so I didn’t see it.

That probably also explains why you used print instead of log