update some type hints and comments in miner factory, and remove some uneeded imports

This commit is contained in:
UpstreamData
2022-05-26 15:51:57 -06:00
parent 96801f93d1
commit 4f5aef2d45
2 changed files with 27 additions and 6 deletions

View File

@@ -12,7 +12,6 @@ from miners.unknown import UnknownMiner
from tools.web_testbench.connections import ConnectionManager
from tools.web_testbench.feeds import get_local_versions
from settings import NETWORK_PING_TIMEOUT as PING_TIMEOUT
import sys
REFERRAL_FILE_S9 = os.path.join(os.path.dirname(__file__), "files", "referral.ipk")
UPDATE_FILE_S9 = os.path.join(os.path.dirname(__file__), "files", "update.tar")
@@ -466,7 +465,6 @@ class TestbenchMiner:
logging.error(f"{self.host}: {E}")
await self.add_to_output(f"Error: {E}")
except RuntimeError as E:
raise E
logging.error(f"{self.host}: {E}")
await self.add_to_output(f"Error: {E}")
asyncio.create_task(self.install_loop())