Modifiche a support.menu

This commit is contained in:
Alhaziel
2019-07-29 18:08:59 +02:00
parent 9c298a80e2
commit 614fa385db
3 changed files with 42 additions and 20 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ def renumeration (itemlist, item, typography, dict_series, ID, SEASON, EPISODE,
return error(itemlist)
if len(EpisodeDict) >= len(itemlist):
for item in itemlist:
number = scrapertoolsV2.find_single_match(item.title, r'\d+')
number = scrapertoolsV2.find_single_match(item.title, r'\d+').lstrip("0")
item.title = typo(EpisodeDict[str(number)] + ' - ', typography) + item.title
else:
make_list(itemlist, item, typography, dict_series, ID, SEASON, EPISODE, MODE, TITLE)