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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user