fix lint error
This commit is contained in:
parent
6a9407744a
commit
3357fefbb0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue