reformatted and fixed a bunch of small formatting related issues

This commit is contained in:
UpstreamData
2022-01-05 13:00:55 -07:00
parent c26a2cc99e
commit 8ef135dfd7
13 changed files with 360 additions and 343 deletions

View File

@@ -67,10 +67,15 @@ class CGMiner(BaseMiner):
@staticmethod
def _result_handler(result: asyncssh.process.SSHCompletedProcess) -> None:
if result is not None:
# noinspection PyUnresolvedReferences
if len(result.stdout) > 0:
# noinspection PyUnresolvedReferences
print("ssh stdout: \n" + result.stdout)
# noinspection PyUnresolvedReferences
if len(result.stderr) > 0:
# noinspection PyUnresolvedReferences
print("ssh stderr: \n" + result.stderrr)
# noinspection PyUnresolvedReferences
if len(result.stdout) <= 0 and len(result.stderr) <= 0:
print("ssh stdout stderr empty")
# if result.stdout != "":