utils: raspberrypi: ctt: Fix pycodestyle E225
E225 missing whitespace around 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>
This commit is contained in:
parent
23f9f46c8a
commit
641c6ebe9b
6 changed files with 34 additions and 33 deletions
|
@ -685,7 +685,8 @@ class Camera:
|
||||||
blacklevels = list(set([Img.blacklevel_16 for Img in all_imgs]))
|
blacklevels = list(set([Img.blacklevel_16 for Img in all_imgs]))
|
||||||
sizes = list(set([(Img.w, Img.h) for Img in all_imgs]))
|
sizes = list(set([(Img.w, Img.h) for Img in all_imgs]))
|
||||||
|
|
||||||
if len(camNames)==1 and len(patterns)==1 and len(sigbitss)==1 and len(blacklevels) ==1 and len(sizes)== 1:
|
if len(camNames) == 1 and len(patterns) == 1 and len(sigbitss) == 1 and \
|
||||||
|
len(blacklevels) == 1 and len(sizes) == 1:
|
||||||
self.grey = (patterns[0] == 128)
|
self.grey = (patterns[0] == 128)
|
||||||
self.blacklevel_16 = blacklevels[0]
|
self.blacklevel_16 = blacklevels[0]
|
||||||
self.log += '\nName: {}'.format(camNames[0])
|
self.log += '\nName: {}'.format(camNames[0])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue