diff options
-rw-r--r-- | rasp_starup.py | 2 |
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) |