Mbonea commited on
Commit
432b599
·
1 Parent(s): dee0729
Files changed (1) hide show
  1. App/Chat/PoeChatrouter.py +2 -1
App/Chat/PoeChatrouter.py CHANGED
@@ -34,7 +34,8 @@ async def fetch_predictions(data):
34
 
35
  if not proxy_set:
36
  try:
37
- fetcher = ProxyFetcher(loop=loop)
 
38
  proxies = fetcher.get(
39
  limit=10,
40
  protocols=[Protocols.HTTP],
 
34
 
35
  if not proxy_set:
36
  try:
37
+ fetcher = ProxyFetcher()
38
+ fetcher.loop = loop
39
  proxies = fetcher.get(
40
  limit=10,
41
  protocols=[Protocols.HTTP],