await response.json()
Browse files
App/Chat/PoeChatrouter.py
CHANGED
|
@@ -48,7 +48,9 @@ async def fetch_predictions(data):
|
|
| 48 |
if str(response.status).startswith("4"):
|
| 49 |
continue
|
| 50 |
proxy = str(p)
|
| 51 |
-
|
|
|
|
|
|
|
| 52 |
except Exception as e:
|
| 53 |
print("Error fetching", e)
|
| 54 |
pass
|
|
|
|
| 48 |
if str(response.status).startswith("4"):
|
| 49 |
continue
|
| 50 |
proxy = str(p)
|
| 51 |
+
temp = await response.json()
|
| 52 |
+
print(temp)
|
| 53 |
+
return temp
|
| 54 |
except Exception as e:
|
| 55 |
print("Error fetching", e)
|
| 56 |
pass
|