Explorar el Código

Fix queue print time for plate selection

MisterBeardy hace 7 meses
padre
commit
215e750d04
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      backend/app/api/routes/print_queue.py

+ 1 - 1
backend/app/api/routes/print_queue.py

@@ -2,11 +2,11 @@
 
 import json
 import logging
-import xml.etree.ElementTree as ET
 import zipfile
 from datetime import datetime
 from pathlib import Path
 
+from defusedxml import ElementTree as ET
 from fastapi import APIRouter, Depends, HTTPException, Query
 from sqlalchemy import func, select
 from sqlalchemy.ext.asyncio import AsyncSession