added unknown miner type

This commit is contained in:
UpstreamData
2021-10-07 16:49:36 -06:00
parent a0e88490c6
commit e0dd2ee1f3
5 changed files with 16 additions and 4 deletions

View File

@@ -7,4 +7,4 @@ import ipaddress
class BaseMiner:
def __init__(self, ip: str, api: BOSMinerAPI or CGMinerAPI or BMMinerAPI):
self.ip = ipaddress.ip_address(ip)
self.api = api
self.api = api