Always get pages for http requests

main
Bob Mottram 2021-08-01 20:46:46 +01:00
parent efbf3c0178
commit 773208bffd
1 changed files with 3 additions and 0 deletions

View File

@ -9236,6 +9236,9 @@ class PubServer(BaseHTTPRequestHandler):
pageNumber = int(pageNumber) pageNumber = int(pageNumber)
else: else:
pageNumber = 1 pageNumber = 1
else:
if self._requestHTTP():
pageNumber = 1
if authorized and pageNumber >= 1: if authorized and pageNumber >= 1:
# if a page wasn't specified then show the first one # if a page wasn't specified then show the first one
pageStr = '?page=' + str(pageNumber) pageStr = '?page=' + str(pageNumber)