diff --git a/CHANGES.md b/CHANGES.md index 15edc6d2..21c9ad0c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ * Update Beautiful Soup 4.11.1 (r642) to 4.12.2 * Update soupsieve 2.3.2.post1 (792d566) to 2.4.1 (2e66beb) +* Fix regex that was not using py312 notation ### 3.29.4 (2023-06-07 13:45:00 UTC) diff --git a/gui/slick/interfaces/default/inc_top.tmpl b/gui/slick/interfaces/default/inc_top.tmpl index 056384e4..2853a85d 100644 --- a/gui/slick/interfaces/default/inc_top.tmpl +++ b/gui/slick/interfaces/default/inc_top.tmpl @@ -190,7 +190,7 @@ trakt_played='most played this month', trakt_played_period_year='most played this year', trakt_collected='most collected this month', trakt_collected_period_year='most collected this year', trakt_recommended='recommended', trakt_watchlist='watchlist') -#set $trakt_mode = $trakt_modes.get(re.sub('[\?=]', '_', $sg_var('TRAKT_MRU')), 'trends, tailored suggestions') +#set $trakt_mode = $trakt_modes.get(re.sub(r'[\?=]', '_', $sg_var('TRAKT_MRU')), 'trends, tailored suggestions')
  • Trakt Cards
  • #set $imdb_func = $sg_str('IMDB_MRU').split('-') diff --git a/lib/guessit/transfo/guess_episodes_rexps.py b/lib/guessit/transfo/guess_episodes_rexps.py index 4523441b..27a8a7c8 100644 --- a/lib/guessit/transfo/guess_episodes_rexps.py +++ b/lib/guessit/transfo/guess_episodes_rexps.py @@ -32,7 +32,7 @@ def number_list(s): if len(l) == 2: # it is an episode interval, return all numbers in between - return range(l[0], l[1]+1) + return list(range(l[0], l[1]+1)) return l