Skip to content

Commit

Permalink
Merge pull request #391 from grafuls/development
Browse files Browse the repository at this point in the history
fix: blacked
  • Loading branch information
grafuls authored Nov 1, 2023
2 parents 3a7cb0a + 5a22209 commit 4b62063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/badfish/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ async def get_power_consumed_watts(self):
except ValueError:
raise BadfishException("Power value outside operating range.")
try:
cwc = data['PowerControl'][0]['PowerConsumedWatts']
cwc = data["PowerControl"][0]["PowerConsumedWatts"]
except IndexError:
cwc = "N/A. Try to `--racreset`."
self.logger.info(f"Current watts consumed: {cwc}")
Expand Down

0 comments on commit 4b62063

Please sign in to comment.