mirror of
https://github.com/lubuntu-team/blog.git
synced 2025-05-23 09:21:30 +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:
|
else:
|
||||||
md = md.replace("NOTICE", "<!--more-->")
|
md = md.replace("NOTICE", "<!--more-->")
|
||||||
|
|
||||||
print(md)
|
|
||||||
post.title = title
|
post.title = title
|
||||||
post.content = md
|
post.content = md
|
||||||
post.post_status = "publish"
|
post.post_status = "publish"
|
||||||
@ -99,7 +98,7 @@ def updatepost(infoyaml, md, post=None, title=None, slug=None):
|
|||||||
|
|
||||||
post.terms = tags
|
post.terms = tags
|
||||||
|
|
||||||
#wp.call(posts.EditPost(post.id, post))
|
wp.call(posts.EditPost(post.id, post))
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
posts = loadposts()
|
posts = loadposts()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user