Skip to content

Commit

Permalink
Fix guessit exception when episode initiator is int (#9198)
Browse files Browse the repository at this point in the history
  • Loading branch information
medariox authored Feb 11, 2021
1 parent 3543a68 commit f20ee0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion medusa/name_parser/rules/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f20ee0e

Please sign in to comment.