More debug

main2
Bob Mottram 2019-09-29 15:06:53 +01:00
parent 9947411c45
commit 6d9416bb40
1 changed files with 2 additions and 1 deletions

View File

@ -2635,12 +2635,13 @@ class PubServer(BaseHTTPRequestHandler):
"""A new post has been created """A new post has been created
This creates a thread to send the new post This creates a thread to send the new post
""" """
print('_receiveNewPost '+postType+' '+path)
pageNumber=1 pageNumber=1
if not (authorized and '/users/' in path and '?'+postType+'?' in path): if not (authorized and '/users/' in path and '?'+postType+'?' in path):
print('Not receiving new post for '+path) print('Not receiving new post for '+path)
return None return None
print('New post begins: '+postType+' '+path)
if '?page=' in path: if '?page=' in path:
pageNumberStr=path.split('?page=')[1] pageNumberStr=path.split('?page=')[1]
if '?' in pageNumberStr: if '?' in pageNumberStr: