Skip to content

Commit 3357fef

Browse files
committed
fix lint error
1 parent 6a94077 commit 3357fef

File tree

1 file changed

+1
-1
lines changed
  • PiCowbell_Camera_Demos/JPEG_Capture

1 file changed

+1
-1
lines changed

PiCowbell_Camera_Demos/JPEG_Capture/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def open_next_image():
9494
except Exception:
9595
print(f"Quality {quality} was too big. Trying next lowest.")
9696

97-
if b==None:
97+
if b is None:
9898
print("There wasn't enough system memory to allocate the lowest quality buffer.")
9999

100100
jpeg = cam.capture(b)

0 commit comments

Comments
 (0)