Updated to 25.333.1800

This commit is contained in:
Pirates IRC
2025-11-29 16:13:59 -06:00
committed by GitHub
parent 18898ad676
commit 178ff621c5

View File

@@ -12,7 +12,7 @@ import unicodedata
from glob import glob
# Version: YY.DDD.HHMM (Julian date format: Year.DayOfYear.Time)
__version__ = "24.332.1600"
__version__ = "25.333.1800"
# Setup logging
LOGGER = logging.getLogger("plugins.fuzzy_matcher")
@@ -398,9 +398,9 @@ class FuzzyMatcher:
# Clean up whitespace
name = re.sub(r'\s+', ' ', name).strip()
# Log warning if normalization resulted in empty string (indicates overly aggressive stripping)
# Log debug message if normalization resulted in empty string (indicates overly aggressive stripping)
if not name:
self.logger.warning(f"normalize_name returned empty string for input: '{original_name}' (original input was stripped too aggressively)")
self.logger.debug(f"normalize_name returned empty string for input: '{original_name}' (original input was stripped too aggressively)")
return name