octohatrack icon indicating copy to clipboard operation
octohatrack copied to clipboard

`---wait-for-reset` handling fails

Open glasnt opened this issue 4 years ago • 0 comments

https://github.com/LABHR/octohatrack/issues/115#issuecomment-740418319

$ python -m octohatrack LABHR/octohatrack --wait-for-reset
You have run out of GitHub request tokens. Set a GITHUB_TOKEN to increase your limit to 5000/hour. Trying again in ~-1 minutes. ...Traceback (most recent call last):
  ...
  File "/Users/glasnt/git/LABHR/octohatrack/octohatrack/api_helpers.py", line 49, in get_json
    if "--wait-for-reset" in sys.argv:
ValueError: sleep length must be non-negative

Guessing it's timezones or something.

glasnt avatar Dec 08 '20 06:12 glasnt