pagination fix

This commit is contained in:
Alhaziel
2019-07-08 18:52:51 +02:00
committed by mac12m99
parent 8df6e3df60
commit 478f6e1a10
+1 -1
View File
@@ -554,7 +554,7 @@ def nextPage(itemlist, item, data='', patron='', function_level=1, next_page='',
return itemlist
def pagination(itemlist, item, page, perpage, function_level=1):
if len(itemlist) >= page * perpage:
if len(itemlist) >= perpage: # page * perpage
itemlist.append(
Item(channel=item.channel,
action=inspect.stack()[function_level][3],