Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed May 28, 2024
1 parent 9642d48 commit 4f46697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/download-node.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
r = requests.get("https://api.github.com/repos/nspcc-dev/neo-go/releases")
if r.status_code == 403:
raise Exception(
f"we probably execeeded the rate limit. Remaining: {headers['X-RateLimit-Remaining']}"
f"we probably execeeded the rate limit. Remaining: {r.headers['X-RateLimit-Remaining']}"
)

for release in r.json():
Expand Down

0 comments on commit 4f46697

Please sign in to comment.