Skip to content

Commit

Permalink
Reformat multiline function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrisan committed Jan 13, 2020
1 parent acd4c31 commit 870bced
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions qtoggleserver/eq3bt/ports/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,11 @@ async def poll(self) -> None:
await self._read_config()

async def _read_config(self) -> None:
_, data = await self.write_notify(self.WRITE_HANDLE, self.NOTIFY_HANDLE,
bytes([self.STATUS_SEND_HEADER] + self._make_status_value()))
_, data = await self.write_notify(
self.WRITE_HANDLE,
self.NOTIFY_HANDLE,
bytes([self.STATUS_SEND_HEADER] + self._make_status_value())
)

if len(data) < 6:
raise EQ3Exception(f'Notification data too short {self.pretty_data(data)}')
Expand Down

0 comments on commit 870bced

Please sign in to comment.