From d6c111a070d8616d7d046bf37330fa3ac54a0162 Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Sat, 18 Feb 2017 21:48:50 +0100 Subject: [PATCH] status now in /tmp/status --- chch-power.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chch-power.py b/chch-power.py index 4834da1..2903f2e 100644 --- a/chch-power.py +++ b/chch-power.py @@ -40,7 +40,7 @@ pin_shortpress_count = [0]*button_count pifacedigital = pifacedigitalio.PiFaceDigital() def chch_status_output(pfd): - f = open("/root/chch-power/status", 'w') + f = open("/tmp/status", 'w') status = "geschlossen" for i in range(button_count): if pfd.output_pins[i].value != 0: