Skip to content

Commit f450e77

Browse files
committed
Fix some pylint messages
1 parent a2454f8 commit f450e77

File tree

1 file changed

+1
-4
lines changed
  • OV5640_Breakout/CircuitPython_Kaluga-jpeg

1 file changed

+1
-4
lines changed

OV5640_Breakout/CircuitPython_Kaluga-jpeg/code.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"""
2121

2222
import os
23-
import ssl
2423
import struct
2524

2625
import board
@@ -30,7 +29,6 @@
3029
import espidf
3130
import keypad
3231
import sdcardio
33-
import socketpool
3432
import storage
3533

3634
print("Initializing display")
@@ -118,7 +116,7 @@ def open_next_image(extension="jpg"):
118116
if exists(filename):
119117
continue
120118
print("#", filename)
121-
return open(filename, "wb") # pylint: disable=consider-using-with
119+
return open(filename, "wb")
122120

123121
ow = (display.width - cam.width) // 2
124122
oh = (display.height - cam.height) // 2
@@ -146,4 +144,3 @@ def open_next_image(extension="jpg"):
146144
pixel_format=espcamera.PixelFormat.RGB565,
147145
frame_size=espcamera.FrameSize.QVGA,
148146
)
149-

0 commit comments

Comments
 (0)