We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a94077 commit 3357fefCopy full SHA for 3357fef
PiCowbell_Camera_Demos/JPEG_Capture/code.py
@@ -94,7 +94,7 @@ def open_next_image():
94
except Exception:
95
print(f"Quality {quality} was too big. Trying next lowest.")
96
97
-if b==None:
+if b is None:
98
print("There wasn't enough system memory to allocate the lowest quality buffer.")
99
100
jpeg = cam.capture(b)
0 commit comments