Skip to content

Commit

Permalink
fix spacing in debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBrain committed Jun 19, 2024
1 parent 02d1d51 commit 01504ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boilr/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def run():
## check if status unchanged
if boilr.status_prev[0] != boilr.status[0]:
logger.debug(
"Conditions %s met: contactor %s",
"not" if not boilr.status[0] else "",
"Conditions %s: contactor %s",
"not met" if not boilr.status[0] else "met",
"closed" if boilr.status[0] else "open"
)
logger.info("Status: %s", "active" if boilr.status[0] else "inactive")
Expand Down

0 comments on commit 01504ef

Please sign in to comment.