Skip to content

Commit

Permalink
fix capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
TShapinsky committed Jan 30, 2024
1 parent 2533e27 commit 6888c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alfalfa_bacnet_bridge/alfalfa_watchdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async def main_loop(host: str, alfalfa_site: str, command: str):
logger.info(f"Found new site with ID: '{site_id}'")
status = client.status(site_id)
logger.info(f"Site status is: '{status}'")
if status == "running":
if status == "RUNNING":
if is_process_alive(child_process):
logger.info(f"Killing old child process: '{child_process.pid}'")
child_process.kill()
Expand Down

0 comments on commit 6888c17

Please sign in to comment.