/
- seat_id = child.text.strip()
-
- if seat_id: # Break if we've already found the identifier
- break
- try:
- if re.match(r"^\w\d{1,3}$", seat_id):
- return seat_id
- except TypeError:
- pass
- return
+ # ToDo: Make function that creates database table `seats` from config
diff --git a/src/ez_lan_manager/types/ConfigurationTypes.py b/src/ez_lan_manager/types/ConfigurationTypes.py
index d54e07d..c888180 100644
--- a/src/ez_lan_manager/types/ConfigurationTypes.py
+++ b/src/ez_lan_manager/types/ConfigurationTypes.py
@@ -41,4 +41,4 @@ class LanInfo:
@dataclass(frozen=True)
class SeatingConfiguration:
- base_svg_path: Path
+ seats: dict[str, str]