Merge pull request #96 from fdeh75/fix-vnish-wattage-dimension
Fix vnish wattage dimension
This commit is contained in:
@@ -167,7 +167,7 @@ class VNish(BMMiner):
|
|||||||
if web_summary is not None:
|
if web_summary is not None:
|
||||||
try:
|
try:
|
||||||
wattage = web_summary["miner"]["power_usage"]
|
wattage = web_summary["miner"]["power_usage"]
|
||||||
wattage = round(wattage * 1000)
|
wattage = round(wattage)
|
||||||
return wattage
|
return wattage
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user