From 4401c48682e58f9c3bcdb42ddb743d45f9a38c1b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 18 Nov 2019 11:30:09 +0000 Subject: [PATCH] Bad variable --- posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts.py b/posts.py index 051804727..dea47b553 100644 --- a/posts.py +++ b/posts.py @@ -2408,7 +2408,7 @@ def createBoxIndexed(session,baseDir: str,boxname: str, \ httpPrefix+'://'+domain+'/users/'+nickname+'/'+boxname+'?page='+prevPageStr nextPageStr='true' - if nextNumber>1: + if pageNumber>1: nextPageStr=str(pageNumber+1) boxHeader['next']= \ httpPrefix+'://'+domain+'/users/'+nickname+'/'+boxname+'?page='+nextPageStr