mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-22 04:45:05 +00:00
py3 fix: guessit return list instead of range object
This commit is contained in:
parent
09bd1b3fbc
commit
81a76461b2
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue