d3 update

This commit is contained in:
Daniel Pollithy 2017-09-01 12:39:07 +02:00
parent 11b0a93260
commit ef902017d7

View File

@ -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()