File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
OV5640_Breakout/CircuitPython_Kaluga-jpeg Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 20
20
"""
21
21
22
22
import os
23
- import ssl
24
23
import struct
25
24
26
25
import board
30
29
import espidf
31
30
import keypad
32
31
import sdcardio
33
- import socketpool
34
32
import storage
35
33
36
34
print ("Initializing display" )
@@ -118,7 +116,7 @@ def open_next_image(extension="jpg"):
118
116
if exists (filename ):
119
117
continue
120
118
print ("#" , filename )
121
- return open (filename , "wb" ) # pylint: disable=consider-using-with
119
+ return open (filename , "wb" )
122
120
123
121
ow = (display .width - cam .width ) // 2
124
122
oh = (display .height - cam .height ) // 2
@@ -146,4 +144,3 @@ def open_next_image(extension="jpg"):
146
144
pixel_format = espcamera .PixelFormat .RGB565 ,
147
145
frame_size = espcamera .FrameSize .QVGA ,
148
146
)
149
-
You can’t perform that action at this time.
0 commit comments