fixed formatting issues

This commit is contained in:
UpstreamData
2022-05-26 13:23:32 -06:00
parent 942f2a1c8d
commit c35b30e949
78 changed files with 177 additions and 173 deletions

View File

@@ -79,7 +79,7 @@ If you are sure you want to use this command please use API.send_command("{item}
data = None
try:
data = await self.send_command(command)
except APIError as e:
except APIError:
try:
data = {}
# S19 handler, try again

View File

@@ -434,7 +434,7 @@ class BTMinerAPI(BaseMinerAPI):
enc_command = create_privileged_cmd(token_data, command)
return await self.send_command(enc_command)
async def update_firmware(self):
async def update_firmware(self): # noqa - static
# to be determined if this will be added later
# requires a file stream in bytes
return NotImplementedError