miner_factory returns a miner of the type intended
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user