From 7ffdfe7f223b7b7aedaa5d2896f249a4e5c58b60 Mon Sep 17 00:00:00 2001 From: Michel Albert Date: Thu, 28 Apr 2016 13:31:01 +0200 Subject: [PATCH] Replaced subprocess.run with subprocess.check_call This should fix #1 and make it work for Python 3.4 I have not tested it. Made the edits straight in the browser so no chance for testing ;) Hope it works! --- scotttv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scotttv.py b/scotttv.py index 842b1fc..639490f 100644 --- a/scotttv.py +++ b/scotttv.py @@ -5,7 +5,7 @@ import time import RPi.GPIO as GPIO -subprocess.run(['setterm', '-blank', 'force']) # doesn't capture output +subprocess.check_call(['setterm', '-blank', 'force']) # doesn't capture output #set up GPIO using BCM numbering