bug: fix an issue with get data on unknown miners.

This commit is contained in:
upstreamdata
2022-11-08 13:38:19 -07:00
parent 449403bc57
commit aba8d7b8b9

View File

@@ -72,5 +72,5 @@ class UnknownMiner(BaseMiner):
async def send_config(self, config: MinerConfig, user_suffix: str = None) -> None:
return None
async def get_data(self, _) -> MinerData:
async def get_data(self, allow_warning: bool = False) -> MinerData:
return MinerData(ip=str(self.ip))