fix space

This commit is contained in:
Valentin CZERYBA 2023-03-28 12:07:11 +02:00
parent 491f15ae3c
commit 605bd06e51

View File

@ -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