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:59:01 +0300
commit5f2160cc963b1b976fcdd8b78b4d090a25c8ff4b (patch)
treebad6fae5608b3550aab04773e8a8f04b7a310f66 /utils/raspberrypi/ctt/ctt_awb.py
parent23cb30918c27c2c9381d6426e3b7a46ccb8cfee5 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E222
E222 multiple spaces after operator 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 58ef8432..63feef24 100644
--- a/utils/raspberrypi/ctt/ctt_awb.py
+++ b/utils/raspberrypi/ctt/ctt_awb.py
@@ -330,7 +330,7 @@ def get_alsc_patches(Img, colour_cals, grey=True):
"""
this works because -0 = 0 = first and -1 = last index
"""
- col_tabs = np.array(colour_cals[cts[-pos//len(cts)]])
+ col_tabs = np.array(colour_cals[cts[-pos//len(cts)]])
"""
else, perform linear interpolation between existing alsc colour
calibration tables