From 986d7c53bcaad5fe50c58e47cb9745999cef9ecc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 31 Mar 2017 04:40:10 +0000 Subject: [PATCH] Add newline to pipe write --- bmcd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmcd b/bmcd index 81fc2ec..32a51c9 100755 --- a/bmcd +++ b/bmcd @@ -68,7 +68,7 @@ def writestate(is_pled_flashing): state_prev = 1 while True: state_now = GPIO.input(gpio_state) - fstate.write(str(state_now)) + fstate.write(str(state_now) + '\n') if not is_pled_flashing.isSet(): if state_now == 1: powerled_on()