From 605bd06e51f2efd33d90fa114310bda2ccbba290 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Tue, 28 Mar 2023 12:07:11 +0200 Subject: [PATCH] fix space --- insert_wordpress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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