From 671510d8778c1e6a32920d4240b9ec69b7ffaf51 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 17 Mar 2021 19:50:18 -0400 Subject: [PATCH] fix for #120 --- modules/plex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plex.py b/modules/plex.py index b32553c2..23968b13 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -399,7 +399,7 @@ class PlexAPI: logger.info("") match = re.search("[Ss]\\d+[Ee]\\d+", episode_str) if match: - output = match.group(0)[1:].split("E" if "E" in m.group(0) else "e") + output = match.group(0)[1:].split("E" if "E" in match.group(0) else "e") episode_id = int(output[0]) season_id = int(output[1]) logger.info(f"Updating episode S{episode_id}E{season_id} of {m}...")