bug: fix token not needing to be passed to upgrade wm firmware.

This commit is contained in:
Brett Rowan
2024-08-25 10:36:11 -06:00
parent d0b9dff476
commit f02e10ab3d

View File

@@ -655,13 +655,12 @@ class BTMiner(StockFirmware):
except LookupError:
pass
async def upgrade_firmware(self, file: Path, token: str):
async def upgrade_firmware(self, file: Path):
"""
Upgrade the firmware of the Whatsminer device.
Args:
file (Path): The local file path of the firmware to be uploaded.
token (str): The authentication token for the firmware upgrade.
Returns:
str: Confirmation message after upgrading the firmware.