|
sleeping_range = range(int(seconds_until_reset / sleep_step_width)) |
i would suggest to add +1 in this line in order to prevent a RateLimitExceededException.
My remaining time was 0 and I did a new API call but the actual reset was some milliseconds later.
my suggstion:
sleeping_range = range(int(seconds_until_reset / sleep_step_width)+1)
github2pandas_manager/github2pandas_manager/utilities.py
Line 80 in 164a04f
i would suggest to add +1 in this line in order to prevent a RateLimitExceededException.
My remaining time was 0 and I did a new API call but the actual reset was some milliseconds later.
my suggstion:
sleeping_range = range(int(seconds_until_reset / sleep_step_width)+1)