diff --git a/update-post b/update-post index b549d45..457fcd6 100755 --- a/update-post +++ b/update-post @@ -86,7 +86,6 @@ def updatepost(infoyaml, md, post=None, title=None, slug=None): else: md = md.replace("NOTICE", "") - print(md) post.title = title post.content = md post.post_status = "publish" @@ -99,7 +98,7 @@ def updatepost(infoyaml, md, post=None, title=None, slug=None): post.terms = tags - #wp.call(posts.EditPost(post.id, post)) + wp.call(posts.EditPost(post.id, post)) def main(): posts = loadposts()