From a4524059098652498660a0e94c896bd1c363ee9b Mon Sep 17 00:00:00 2001 From: Mariusz Karpiarz Date: Mon, 10 Aug 2020 20:19:04 +0100 Subject: [PATCH] Add brackets in examples for full Python 3 compatibility --- rpi/test_ambient.py | 2 +- rpi/test_gesture.py | 2 +- rpi/test_prox.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rpi/test_ambient.py b/rpi/test_ambient.py index 902fe42..1e44932 100644 --- a/rpi/test_ambient.py +++ b/rpi/test_ambient.py @@ -31,4 +31,4 @@ def intH(channel): finally: GPIO.cleanup() - print "Bye" + print("Bye") diff --git a/rpi/test_gesture.py b/rpi/test_gesture.py index efea827..c5639f7 100644 --- a/rpi/test_gesture.py +++ b/rpi/test_gesture.py @@ -42,4 +42,4 @@ def intH(channel): finally: GPIO.cleanup() - print "Bye" + print("Bye") diff --git a/rpi/test_prox.py b/rpi/test_prox.py index d2c534b..c75e778 100644 --- a/rpi/test_prox.py +++ b/rpi/test_prox.py @@ -33,4 +33,4 @@ def intH(channel): finally: GPIO.cleanup() - print "Bye" + print("Bye")