CR fix
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user