fix lint error

This commit is contained in:
Casten Riepling 2025-04-11 22:51:53 +00:00
parent 6a9407744a
commit 3357fefbb0

View file

@ -94,7 +94,7 @@ for quality in range(2,55): #valid range is 2 to 54 inclusive
except Exception:
print(f"Quality {quality} was too big. Trying next lowest.")
if b==None:
if b is None:
print("There wasn't enough system memory to allocate the lowest quality buffer.")
jpeg = cam.capture(b)