mirror of
https://github.com/lubuntu-team/blog.git
synced 2025-03-09 20:51:07 +00:00
Remove unnecessary print statement.
This commit is contained in:
parent
fc9ca85525
commit
4af846fc1d
@ -86,7 +86,6 @@ def updatepost(infoyaml, md, post=None, title=None, slug=None):
|
||||
else:
|
||||
md = md.replace("NOTICE", "<!--more-->")
|
||||
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user