From f1cb7d27ac36de1a5e490014c2cd051509279c81 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 10 Feb 2021 13:45:35 -0500 Subject: [PATCH] lint --- lbry/extras/daemon/exchange_rate_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/extras/daemon/exchange_rate_manager.py b/lbry/extras/daemon/exchange_rate_manager.py index 16108981c..3d6b104b4 100644 --- a/lbry/extras/daemon/exchange_rate_manager.py +++ b/lbry/extras/daemon/exchange_rate_manager.py @@ -58,9 +58,9 @@ class MarketFeed: raise NotImplementedError() async def get_response(self): - headers = {"User-Agent": "lbrynet"} 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: try: self._last_response = await response.json(content_type=None)