Refactored the quote_push process to check for any existing jobMaterials and fail with a log entry and some intelligence so that we don't overwrite anything that has been manually created. Also added another list in the inspector.py code to allow us to view this when it occurs.

This commit is contained in:
2026-05-11 14:41:26 +10:00
parent f03840c574
commit d7dc2ade06
5 changed files with 284 additions and 11 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ def clean_text(value: Any) -> str:
def get_state_conn(db_path: Path = STATE_DB_PATH):
conn = sqlite3.connect(db_path)
conn = sqlite3.connect(db_path, timeout=30)
conn.row_factory = sqlite3.Row
return conn