Skip to content

Commit

Permalink
fix: Adjust wait time in Udemy checkout process for improved efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
techtanic committed Nov 2, 2024
1 parent 57fdae1 commit c43ad90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def process_coupon(self, course_id, coupon_code, amount):
)
self.print(checkout_response, color="red")
wait_time = 60
time.sleep(wait_time + 1.5)
time.sleep(wait_time + 1)
self.process_coupon(course_id, coupon_code, amount)
elif checkout_response["status"] == "succeeded":
self.print("Successfully Enrolled To Course :)", color="green")
Expand Down

0 comments on commit c43ad90

Please sign in to comment.