mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-22 02:33:37 +00:00
Merge branch 'feature/FixPy312' into dev
This commit is contained in:
commit
c7ae93429b
3 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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')
|
||||
<li><a href="$sbRoot/add-shows/trakt-default/" tabindex="$tab#set $tab += 1#"><i class="sgicon-trakt"></i>Trakt Cards
|
||||
<div class="menu-item-desc opacity60">$trakt_mode...</div></a></li>
|
||||
#set $imdb_func = $sg_str('IMDB_MRU').split('-')
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue