forked from LBRYCommunity/lbry-sdk
lint
This commit is contained in:
parent
dee494e12f
commit
f1cb7d27ac
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ class MarketFeed:
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
async def get_response(self):
|
async def get_response(self):
|
||||||
headers = {"User-Agent": "lbrynet"}
|
|
||||||
async with aiohttp_request(
|
async with aiohttp_request(
|
||||||
'get', self.url, params=self.params, timeout=self.request_timeout, headers=headers
|
'get', self.url, params=self.params,
|
||||||
|
timeout=self.request_timeout, headers={"User-Agent": "lbrynet"}
|
||||||
) as response:
|
) as response:
|
||||||
try:
|
try:
|
||||||
self._last_response = await response.json(content_type=None)
|
self._last_response = await response.json(content_type=None)
|
||||||
|
|
Loading…
Reference in a new issue