skip 404
Browse files
App/Chat/PoeChatrouter.py
CHANGED
|
@@ -55,7 +55,7 @@ async def fetch_predictions(data):
|
|
| 55 |
timeout=5,
|
| 56 |
proxy=str(p),
|
| 57 |
) as response:
|
| 58 |
-
if response.status
|
| 59 |
continue
|
| 60 |
proxy = str(p)
|
| 61 |
return await response.json()
|
|
|
|
| 55 |
timeout=5,
|
| 56 |
proxy=str(p),
|
| 57 |
) as response:
|
| 58 |
+
if str(response.status).startswith("4"):
|
| 59 |
continue
|
| 60 |
proxy = str(p)
|
| 61 |
return await response.json()
|