Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
azogue committed May 8, 2021
1 parent 93afeeb commit 96078c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aiopvpc/pvpc_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ async def _download_pvpc_prices(self, day: date) -> Dict[datetime, Any]:
resp = await self._session.get(url)
if resp.status < 400:
data = await resp.json()
pvpc_data = extract_pvpc_data(data, tariff)
return pvpc_data
return extract_pvpc_data(data, tariff)
except KeyError:
self._logger.debug("Bad try on getting prices for %s", day)
except asyncio.TimeoutError:
Expand Down

0 comments on commit 96078c4

Please sign in to comment.