You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"message":"API rate limit exceeded for XXX.XXX.XXX.XXX. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
Describe the bug
When executing savify it tries to fetch updates from https://api.github.com/repos/LaurenceRawlings/savify/releases/latest which in my case i was rate limited.
I guess i was rate limited because my script looked like this:
so the function check_for_updates() gets called for every single line in that text file.
Expected behavior
Do not check for updates when the command is issued. Instead let the user look for updates himself.
Screenshots
Script:
Response from https://api.github.com/repos/LaurenceRawlings/savify/releases/latest link:
Desktop:
QUICK FIX
cloned the repo and uncomment line https://github.com/LaurenceRawlings/savify/blob/main/savify/savify.py#L80
The text was updated successfully, but these errors were encountered: