scripts/fix_tma_inventario_error.py¶
Overview¶
This file contains 4 documented elements.
Functions¶
fix_inventario_error(file_path)¶
Corregge l'errore dell'attributo inventario.
Parameters:
- file_path
check_fill_fields_method(file_path)¶
Verifica se fill_fields potrebbe causare problemi.
Parameters:
- file_path
main()¶
No description available.
Entry point of the script that orchestrates the fix for an inventory attribute error in the TMA plugin file located at a hardcoded path within the QGIS user profile directory. It verifies the target file exists, then calls fix_inventario_error() to apply the fix and, if successful, calls check_fill_fields_method() to inspect the fill_fields method for inventory field access. Returns 0 on success or 1 if the file is not found or the fix process fails.