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: except LookupError:
pass pass
async def upgrade_firmware(self, file: Path, token: str): async def upgrade_firmware(self, file: Path):
""" """
Upgrade the firmware of the Whatsminer device. Upgrade the firmware of the Whatsminer device.
Args: Args:
file (Path): The local file path of the firmware to be uploaded. file (Path): The local file path of the firmware to be uploaded.
token (str): The authentication token for the firmware upgrade.
Returns: Returns:
str: Confirmation message after upgrading the firmware. str: Confirmation message after upgrading the firmware.