diff --git a/insert_wordpress.py b/insert_wordpress.py index 595a3d6..b2c2787 100644 --- a/insert_wordpress.py +++ b/insert_wordpress.py @@ -84,7 +84,7 @@ if __name__ == '__main__': page = requests.get("http://localhost:8080/wp-json/wp/v2/posts", auth=basic, params=params) page_exist = True if page.status_code: - result= page.json() + result = page.json() if len(result) == 0: page_exist = False