adacam-odc: fix purge table name (landmarks not detections)
This commit is contained in:
parent
78204aa734
commit
4949d793b5
1 changed files with 1 additions and 1 deletions
|
|
@ -773,7 +773,7 @@ def purge_forwarded_detections():
|
|||
conn.row_factory = sqlite3.Row
|
||||
cur = conn.cursor()
|
||||
cur.execute(
|
||||
"DELETE FROM detections WHERE id <= ? AND ts < ?",
|
||||
"DELETE FROM landmarks WHERE id <= ? AND ts < ?",
|
||||
(cursor_id, cutoff_ms)
|
||||
)
|
||||
deleted = cur.rowcount
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue