raannakasturi commited on
Commit
aa30616
·
verified ·
1 Parent(s): f9bd988

Update post_blog.py

Browse files
Files changed (1) hide show
  1. post_blog.py +2 -2
post_blog.py CHANGED
@@ -106,9 +106,9 @@ def post_blog(title, category, summary, mindmap, citation, uaccess_key, wait_tim
106
  else:
107
  status = True
108
  post_title, post_category, post_body, post_image = create_post(title, category, summary, mindmap, citation)
109
- # status = post_post(post_title, post_category, post_body, post_image)
110
  print(f"Waiting for {wait_time*60} seconds...")
111
- # time.sleep(wait_time*60)
112
  if status:
113
  print('Post created successfully')
114
  return True
 
106
  else:
107
  status = True
108
  post_title, post_category, post_body, post_image = create_post(title, category, summary, mindmap, citation)
109
+ status = post_post(post_title, post_category, post_body, post_image)
110
  print(f"Waiting for {wait_time*60} seconds...")
111
+ time.sleep(wait_time*60)
112
  if status:
113
  print('Post created successfully')
114
  return True