raannakasturi commited on
Commit
991bf51
·
verified ·
1 Parent(s): 4091161

Update post_blog.py

Browse files
Files changed (1) hide show
  1. post_blog.py +2 -1
post_blog.py CHANGED
@@ -152,7 +152,8 @@ def post_blog(title, category, summary, mindmap, citation, uaccess_key):
152
  while (i <= 7 and not status):
153
  print(f'Posting... Tries: {i}')
154
  status = post_post(post_title, post_category, post_body, post_image, i)
155
- time.sleep(30)
 
156
  i += 1
157
  if status:
158
  print('Post created successfully')
 
152
  while (i <= 7 and not status):
153
  print(f'Posting... Tries: {i}')
154
  status = post_post(post_title, post_category, post_body, post_image, i)
155
+ print(f"Waiting for {3*60} seconds...")
156
+ time.sleep(3*60)
157
  i += 1
158
  if status:
159
  print('Post created successfully')