This commit is contained in:
+3
-2
@@ -434,9 +434,10 @@ class NFOGuardDatabase:
|
||||
"""Add processing history entry"""
|
||||
with self.get_connection() as conn:
|
||||
cursor = conn.cursor()
|
||||
cursor.execute("""
|
||||
placeholder = self._get_placeholder()
|
||||
cursor.execute(f"""
|
||||
INSERT INTO processing_history (imdb_id, media_type, event_type, processed_at, details)
|
||||
VALUES (?, ?, ?, ?, ?)
|
||||
VALUES ({placeholder}, {placeholder}, {placeholder}, {placeholder}, {placeholder})
|
||||
""", (imdb_id, media_type, event_type, datetime.utcnow().isoformat(),
|
||||
json.dumps(details) if details else None))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user