ok, it's not my day

This commit is contained in:
Alhaziel
2019-04-04 10:41:09 +02:00
committed by mac12m99
parent 4c7d08ad6b
commit 5cf4f1f846
+2 -2
View File
@@ -387,7 +387,7 @@ def videolibrary(itemlist, item, typography=''):
contentTitle=item.fulltitle)) contentTitle=item.fulltitle))
def nextPage(itemlist, item, data, patron, function_level=0): def nextPage(itemlist, item, data, patron, function_level=1):
# Function_level is useful if the function is called by another function. # Function_level is useful if the function is called by another function.
# If the call is direct, leave it blank # If the call is direct, leave it blank
@@ -397,7 +397,7 @@ def nextPage(itemlist, item, data, patron, function_level=0):
if next_page != "": if next_page != "":
itemlist.append( itemlist.append(
Item(channel=item.channel, Item(channel=item.channel,
action=inspect.stack()[function_level + 1][3], action=inspect.stack()[function_level][3],
contentType=item.contentType, contentType=item.contentType,
title=typo(config.get_localized_string(30992), 'color blue bold'), title=typo(config.get_localized_string(30992), 'color blue bold'),
url=next_page, url=next_page,