This commit is contained in:
Nitzan Pomerantz
2025-10-25 14:01:53 +03:00
parent c87750f57f
commit 48bfb00628
+1 -2
View File
@@ -5,6 +5,7 @@ This module provides shared helper functions with no external dependencies
(except standard library). (except standard library).
""" """
import re
from typing import Tuple from typing import Tuple
@@ -129,8 +130,6 @@ def extract_floor_number(floor_str: str) -> int | None:
return num return num
# Try to extract number from string # Try to extract number from string
import re
numbers = re.findall(r"\d+", floor_str) numbers = re.findall(r"\d+", floor_str)
if numbers: if numbers:
try: try: