We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 446d00e commit 985b31cCopy full SHA for 985b31c
1 file changed
MatrixPortal_S3_Flight_Proximity_Tracker/code.py
@@ -218,12 +218,10 @@ def create_icon_tilegrid(ident):
218
icon_path = f"/airline_logos/{airline_code}.bmp"
219
220
try:
221
- # pylint: disable=consider-using-with
222
file = open(icon_path, "rb")
223
icon_bitmap = OnDiskBitmap(file)
224
except OSError:
225
print(f"Icon for {airline_code} not found. Using placeholder.")
226
227
file = open(PLACEHOLDER_ICON_PATH, "rb")
228
229
0 commit comments