Windows compatibility

This commit is contained in:
2026-08-20 12:01:31 +02:00
parent 7c366a9ca4
commit ac4ab782b2
20 changed files with 634 additions and 134 deletions
+2
View File
@@ -10,6 +10,7 @@ from typing import List, Union
from google import genai
from google.genai import types
from concurrent.futures import ThreadPoolExecutor
from platform_utils import validate_windows_labels
from utils import compile_to_pdf
def get_lcp(s1: str, s2: str) -> str:
@@ -602,6 +603,7 @@ def process_exam(folder_path: str, restart: bool = False):
break
labels_list = [item.label for group in grouped_items for item in group if isinstance(item, QuestionItem)]
validate_windows_labels(labels_list)
# Save labels and proceed
with open(folder / "labels", 'w', encoding='utf-8') as f_labels: