Skip to content

Commit

Permalink
Fix regex pull.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Jul 15, 2023
1 parent 345ab25 commit 552ec7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _get_message(errors):

def _get_ratelimit(self):
for error in self.errors:
match = REGEX_CROM_RATE_LIMIT.fullmatch(error)
match = REGEX_CROM_RATE_LIMIT.fullmatch(error["message"])
if match is not None:
return int(match[1])

Expand Down

0 comments on commit 552ec7d

Please sign in to comment.