diff --git a/apps/channels/tasks.py b/apps/channels/tasks.py index cd597ca3..8a0dffe1 100755 --- a/apps/channels/tasks.py +++ b/apps/channels/tasks.py @@ -161,7 +161,7 @@ def normalize_name(name: str) -> str: suffixes = settings.get("epg_match_ignore_suffixes", []) custom_strings = settings.get("epg_match_ignore_custom", []) - # Ensure we have lists (defensive) + # Ensure we have lists if not isinstance(prefixes, list): prefixes = [] if not isinstance(suffixes, list):