py3 fix: guessit return list instead of range object

This commit is contained in:
Prinz23 2023-07-26 20:14:29 +02:00 committed by JackDandy
parent 09bd1b3fbc
commit 81a76461b2
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
* Update Beautiful Soup 4.11.1 (r642) to 4.12.2 * Update Beautiful Soup 4.11.1 (r642) to 4.12.2
* Update soupsieve 2.3.2.post1 (792d566) to 2.4.1 (2e66beb) * 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) ### 3.29.4 (2023-06-07 13:45:00 UTC)

View file

@ -32,7 +32,7 @@ def number_list(s):
if len(l) == 2: if len(l) == 2:
# it is an episode interval, return all numbers in between # 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 return l