From f20ee0e2ba348e1c4d6421af5634b8f599a65931 Mon Sep 17 00:00:00 2001 From: Dario Date: Thu, 11 Feb 2021 15:52:13 +0100 Subject: [PATCH] Fix guessit exception when episode initiator is int (#9198) --- medusa/name_parser/rules/rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/medusa/name_parser/rules/rules.py b/medusa/name_parser/rules/rules.py index f343cb181d..7b35134096 100644 --- a/medusa/name_parser/rules/rules.py +++ b/medusa/name_parser/rules/rules.py @@ -672,7 +672,7 @@ def when(self, matches, context): if not (2 <= len(episodes) <= 4): return - unique_eps = set([ep.initiator.value.lower() for ep in episodes]) + unique_eps = set([str(ep.initiator.value).lower() for ep in episodes]) if len(unique_eps) != 2: return