Skip to content

Commit

Permalink
fix other capitalization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TShapinsky committed Jan 30, 2024
1 parent a6532cb commit 8413651
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 @@ -71,7 +71,7 @@ async def main_loop(host: str, alfalfa_site: str, command: str):
logger.info(f"Spawned new child process: '{child_process.pid}'")
old_site_id = site_id

if site_id and is_process_alive(child_process) and client.status(site_id) != "running":
if site_id and is_process_alive(child_process) and client.status(site_id) != "RUNNING":
logger.info(f"Killing old child process: '{child_process.pid}'")
child_process.kill()

Expand Down

0 comments on commit 8413651

Please sign in to comment.