Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit a469917

Browse files
committed
Fix status error for rate
1 parent 86c7baa commit a469917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firststreet/http_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _network_error(options, error, rate_limit):
135135
"""
136136
status = int(error.get('code'))
137137

138-
if not status == '429':
138+
if not status == 429:
139139
message = "Network Error {}: {}".format(status, error.get('message'))
140140
else:
141141
message = "Network Error {}: {}. Limit: {}. Remaining: {}. Reset: {}".format(status, error.get('message'),

0 commit comments

Comments
 (0)