reformatted and fixed a bunch of small formatting related issues
This commit is contained in:
@@ -46,7 +46,7 @@ class BaseMinerAPI:
|
||||
for item in commands:
|
||||
# make sure we can actually run the command, otherwise it will fail
|
||||
if item not in self.get_commands():
|
||||
# if the command isnt allowed, remove it
|
||||
# if the command isn't allowed, remove it
|
||||
print(f"Removing incorrect command: {item}")
|
||||
commands.remove(item)
|
||||
|
||||
|
||||
@@ -104,9 +104,6 @@ class BOSMinerAPI(BaseMinerAPI):
|
||||
|
||||
Returns a dict containing stats for all device/pool with more than 1 getwork,
|
||||
ignoring zombie devices.
|
||||
|
||||
Parameters:
|
||||
old (optional): include zombie devices that became zombies less than 'old' seconds ago.
|
||||
"""
|
||||
return await self.send_command("estats")
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from API import BaseMinerAPI, APIError
|
||||
|
||||
from passlib.handlers import md5_crypt
|
||||
from passlib.handlers.md5_crypt import md5_crypt
|
||||
import asyncio
|
||||
import re
|
||||
import json
|
||||
|
||||
Reference in New Issue
Block a user