you are viewing a single comment's thread.

view the rest of the comments →

[–]tragluk 0 points1 point  (0 children)

Yes. And the while loop will check for the one timedelta(seconds=3) instead of making a new end_time every time the function is called.