improved format and readability

This commit is contained in:
UpstreamData
2021-10-20 13:47:58 -06:00
parent 62ea4578a2
commit ea2ec6463e
14 changed files with 77 additions and 56 deletions

View File

@@ -3,11 +3,11 @@ from miners import BaseMiner
class UnknownMiner(BaseMiner):
def __init__(self, ip: str):
def __init__(self, ip: str) -> None:
api = UnknownAPI(ip)
super().__init__(ip, api)
def __repr__(self):
def __repr__(self) -> str:
return f"Unknown: {str(self.ip)}"
async def send_config(self):