Browse Source

Use defusedxml in test files for Bandit compliance

bambuman 3 months ago
parent
commit
ce4683ad3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/app/utils/threemf_tools.py

+ 1 - 1
backend/app/utils/threemf_tools.py

@@ -10,7 +10,7 @@ import math
 import re
 import zipfile
 from pathlib import Path
-from xml.etree import ElementTree as ET
+import defusedxml.ElementTree as ET
 
 # Default filament properties
 DEFAULT_FILAMENT_DIAMETER = 1.75  # mm