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/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