From f09ffa4c2fcbc9c448a59f4dfa607ac1083a326f Mon Sep 17 00:00:00 2001 From: Yadhukrishnan P Date: Sun, 19 May 2024 16:25:41 -0700 Subject: [PATCH] bug fixes --- helpers/blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/blog.py b/helpers/blog.py index 745a8eb..32fb6c9 100644 --- a/helpers/blog.py +++ b/helpers/blog.py @@ -37,7 +37,7 @@ def write_blog(title, content, tags): "publishStatus": "public" } - with open("text.json", "w") as t: + with open("helpers/json/text.json", "w") as t: json.dump(payload, t) response = requests.post(base_url + path, json=payload, headers=headers)