Fixed typo with last_pk

This commit is contained in:
Simon Willison 2019-02-23 22:49:54 -08:00
commit 10e3aab4c6

View file

@ -445,7 +445,7 @@ class Table:
with self.db.conn:
result = self.db.conn.execute(sql, values)
self.last_rowid = result.lastrowid
self.lash_pk = None
self.last_pk = None
if hash_id or pk:
self.last_pk = self.db.conn.execute(
"select [{}] from [{}] where rowid = ?".format(