forked from indymedia/epicyon
More debug
parent
9947411c45
commit
6d9416bb40
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue