diff --git a/pyasic/misc/__init__.py b/pyasic/misc/__init__.py index 93fe4530..81130286 100644 --- a/pyasic/misc/__init__.py +++ b/pyasic/misc/__init__.py @@ -50,14 +50,16 @@ def api_min_version(version: str): if not api_major_ver >= allowed_major_ver: raise APIError( - f"Miner API version v{api_major_ver}.{api_minor_ver}.{api_patch_ver} is too low for {func.__name__}, required version is at least v{version}" + f"Miner API version v{api_major_ver}.{api_minor_ver}.{api_patch_ver}" + f" is too low for {func.__name__}, required version is at least v{version}" ) if not ( api_minor_ver >= allowed_minor_ver and api_major_ver == allowed_major_ver ): raise APIError( - f"Miner API version v{api_major_ver}.{api_minor_ver}.{api_patch_ver} is too low for {func.__name__}, required version is at least v{version}" + f"Miner API version v{api_major_ver}.{api_minor_ver}.{api_patch_ver}" + f" is too low for {func.__name__}, required version is at least v{version}" ) if not ( api_patch_ver >= allowed_patch_ver @@ -65,7 +67,8 @@ def api_min_version(version: str): and api_major_ver == allowed_major_ver ): raise APIError( - f"Miner API version v{api_major_ver}.{api_minor_ver}.{api_patch_ver} is too low for {func.__name__}, required version is at least v{version}" + f"Miner API version v{api_major_ver}.{api_minor_ver}.{api_patch_ver} " + f"is too low for {func.__name__}, required version is at least v{version}" ) return await func(*args, **kwargs) diff --git a/pyasic/rpc/bfgminer.py b/pyasic/rpc/bfgminer.py index 750d3dc8..9933728b 100644 --- a/pyasic/rpc/bfgminer.py +++ b/pyasic/rpc/bfgminer.py @@ -663,7 +663,8 @@ class BFGMinerRPCAPI(BaseMinerRPCAPI): Expand Parameters: - which: Which device to zero. Setting this to 'all' zeros all devices. Setting this to 'bestshare' zeros only the bestshare values for each pool and global. + which: Which device to zero. Setting this to 'all' zeros all devices. + Setting this to 'bestshare' zeros only the bestshare values for each pool and global. summary: Whether or not to show a full summary. diff --git a/pyasic/rpc/bmminer.py b/pyasic/rpc/bmminer.py index a3a83a33..efa6baf4 100644 --- a/pyasic/rpc/bmminer.py +++ b/pyasic/rpc/bmminer.py @@ -561,7 +561,8 @@ class BMMinerRPCAPI(BaseMinerRPCAPI): Expand Parameters: - which: Which device to zero. Setting this to 'all' zeros all devices. Setting this to 'bestshare' zeros only the bestshare values for each pool and global. + which: Which device to zero. Setting this to 'all' zeros all devices. + Setting this to 'bestshare' zeros only the bestshare values for each pool and global. summary: Whether or not to show a full summary. diff --git a/pyasic/rpc/cgminer.py b/pyasic/rpc/cgminer.py index 922602bc..04d5beb9 100644 --- a/pyasic/rpc/cgminer.py +++ b/pyasic/rpc/cgminer.py @@ -559,7 +559,8 @@ class CGMinerRPCAPI(BaseMinerRPCAPI): Expand Parameters: - which: Which device to zero. Setting this to 'all' zeros all devices. Setting this to 'bestshare' zeros only the bestshare values for each pool and global. + which: Which device to zero. Setting this to 'all' zeros all devices. + Setting this to 'bestshare' zeros only the bestshare values for each pool and global. summary: Whether or not to show a full summary.