summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_awb.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 03:32:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-13 16:57:43 +0300
commitd6527d382e4853728287503860d253f9431de169 (patch)
treea1f5810e516d05461f1643aed539ea4d541eb0d4 /utils/raspberrypi/ctt/ctt_awb.py
parentda88fcec0d4930bbcec0a44f678f744bfa5334b8 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E203
E203 whitespace before ':' Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_awb.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_awb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_awb.py b/utils/raspberrypi/ctt/ctt_awb.py
index 9a92033b..297ba178 100644
--- a/utils/raspberrypi/ctt/ctt_awb.py
+++ b/utils/raspberrypi/ctt/ctt_awb.py
@@ -197,7 +197,7 @@ def awb(Cam, cal_cr_list, cal_cb_list, plot):
iterate backwards over list for easier indexing
"""
i = len(c_fit) - 1
- while i > 0 :
+ while i > 0:
if c_fit[i] > c_fit[i-1]:
Cam.log += '\nColour temperature increase found\n'
Cam.log += '{} K at r = {} to '.format(c_fit[i-1], r_fit[i-1])