Skip to content

Commit 985b31c

Browse files
committed
lint lint
1 parent 446d00e commit 985b31c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • MatrixPortal_S3_Flight_Proximity_Tracker

MatrixPortal_S3_Flight_Proximity_Tracker/code.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,10 @@ def create_icon_tilegrid(ident):
218218
icon_path = f"/airline_logos/{airline_code}.bmp"
219219

220220
try:
221-
# pylint: disable=consider-using-with
222221
file = open(icon_path, "rb")
223222
icon_bitmap = OnDiskBitmap(file)
224223
except OSError:
225224
print(f"Icon for {airline_code} not found. Using placeholder.")
226-
# pylint: disable=consider-using-with
227225
file = open(PLACEHOLDER_ICON_PATH, "rb")
228226
icon_bitmap = OnDiskBitmap(file)
229227

0 commit comments

Comments
 (0)