From fbd83ed85a40eec30090dbccdcea070bc55863a4 Mon Sep 17 00:00:00 2001 From: sirstudly Date: Thu, 21 Mar 2024 13:49:34 +0000 Subject: [PATCH] Resolving issue https://github.com/itsToggle/plex_debrid/issues/638 --- content/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/classes.py b/content/classes.py index 3d1ba45c..a99d0757 100644 --- a/content/classes.py +++ b/content/classes.py @@ -571,7 +571,7 @@ def deviation(self, year=""): title = title.replace('.' + str(self.year), '') if year != "": return '[^A-Za-z0-9]*(' + title + ':?.)\(?\[?(' + str(year) + ')' - return '[^A-Za-z0-9]*(' + title + ':?.)\(?\[?(' + str(self.year) + '|' + str(self.year - 1) + '|' + str(self.year + 1) + ')' + return '[^A-Za-z0-9]*(' + title + ':?.*)\(?\[?(' + str(self.year) + '|' + str(self.year - 1) + '|' + str(self.year + 1) + ')' else: title = title.replace('.' + str(self.year), '') return '[^A-Za-z0-9]*(' + title + ')'