From ef902017d7889953ad077a00adf95b91881e9a6f Mon Sep 17 00:00:00 2001 From: Daniel Pollithy Date: Fri, 1 Sep 2017 12:39:07 +0200 Subject: [PATCH] d3 update --- relais.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relais.py b/relais.py index c7b8a0e..a65aac7 100644 --- a/relais.py +++ b/relais.py @@ -2,10 +2,10 @@ from subprocess import Popen def switch_off(): - popen = Popen(['sudo', 'bash', '/home/linaro/bluetooth_drone/touch_switch', 'off']) + popen = Popen(['sudo', '/home/linaro/bluetooth_drone/touch_switch', 'off']) popen.wait() def switch_on(): - popen = Popen(['sudo', 'bash', '/home/linaro/bluetooth_drone/touch_switch', 'on']) + popen = Popen(['sudo', '/home/linaro/bluetooth_drone/touch_switch', 'on']) popen.wait()