mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
enable flake8 E231: missing whitespace after comma
This commit is contained in:
@@ -207,7 +207,7 @@ def rgb24toyuv420(rgb):
|
||||
yuv420[y_len:y_len + uv_len] = us.reshape(-1)
|
||||
yuv420[y_len + uv_len:y_len + 2 * uv_len] = vs.reshape(-1)
|
||||
|
||||
return yuv420.clip(0,255).astype('uint8')
|
||||
return yuv420.clip(0, 255).astype('uint8')
|
||||
|
||||
|
||||
def decompress_video_data(rawdat, vid_fmt, w, h, pix_fmt):
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ class KBHit:
|
||||
def kbhit(self):
|
||||
''' Returns True if keyboard character was hit, False otherwise.
|
||||
'''
|
||||
dr,dw,de = select([sys.stdin], [], [], 0)
|
||||
dr, dw, de = select([sys.stdin], [], [], 0)
|
||||
return dr != []
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user