fix space
This commit is contained in:
parent
491f15ae3c
commit
605bd06e51
@ -84,7 +84,7 @@ if __name__ == '__main__':
|
|||||||
page = requests.get("http://localhost:8080/wp-json/wp/v2/posts", auth=basic, params=params)
|
page = requests.get("http://localhost:8080/wp-json/wp/v2/posts", auth=basic, params=params)
|
||||||
page_exist = True
|
page_exist = True
|
||||||
if page.status_code:
|
if page.status_code:
|
||||||
result= page.json()
|
result = page.json()
|
||||||
if len(result) == 0:
|
if len(result) == 0:
|
||||||
page_exist = False
|
page_exist = False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user