Skip to content

Commit

Permalink
make proxybroker find command start working
Browse files Browse the repository at this point in the history
  • Loading branch information
ziloka committed Nov 12, 2023
1 parent 082908d commit 14b21a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion proxybroker/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ async def handle(proxies, outfile, format):
line = proxy.as_text()
else:
line = '%r\n' % proxy

if is_json and not is_first:
outfile.write(',\n')
outfile.write(line)
Expand Down
2 changes: 1 addition & 1 deletion proxybroker/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(
self._proxies = set()
# concurrent connections on the current provider
self._sem_provider = asyncio.Semaphore(max_conn)
self._loop = loop or asyncio.get_event_loop()
self._loop = loop

@property
def proxies(self):
Expand Down

0 comments on commit 14b21a0

Please sign in to comment.