From e8655c2161a97261971ef19621a34651980b76d6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 2 May 2020 03:32:00 +0300 Subject: utils: raspberrypi: ctt: Fix pycodestyle E302 E302 expected 2 blank lines, found 0 Note that issues are still flagged, due to the use of docstrings as multi-lines comments. This will be addressed separately. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: David Plowman --- utils/raspberrypi/ctt/ctt.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/raspberrypi/ctt/ctt.py') diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py index ed34bfaa..d7e38c31 100755 --- a/utils/raspberrypi/ctt/ctt.py +++ b/utils/raspberrypi/ctt/ctt.py @@ -34,6 +34,7 @@ blank json file. This has been done to avoid reproducing the entire json file in the code here, thereby avoiding unecessary clutter. """ + """ Get the colour and lux values from the strings of each inidvidual image """ @@ -702,6 +703,7 @@ class Camera: self.log += '\nERROR: Images are from different cameras' return 0 + def run_ctt(json_output, directory, config, log_output): """ check input files are jsons -- cgit v1.2.1