aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rasp_starup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rasp_starup.py b/rasp_starup.py
index 1ba0b0a..37856b9 100644
--- a/rasp_starup.py
+++ b/rasp_starup.py
@@ -24,7 +24,7 @@ def playerThreadFunc():
# kill if running
if process != 0:
if process.poll() == None:
- process.kill()
+ process.terminate()
time.sleep(1)
# turn on led
GPIO.output(led_pin, True)