Skip to content

Commit 62c867e

Browse files
committed
Fix quality issue
1 parent 384d52d commit 62c867e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp_email_server/emails/classic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async def get_emails_stream(
133133
else:
134134
# Fallback to searching through all items
135135
for _, item in enumerate(data):
136-
if isinstance(item, (bytes, bytearray)) and len(item) > 100:
136+
if isinstance(item, bytes | bytearray) and len(item) > 100:
137137
# Skip header lines that contain FETCH
138138
if isinstance(item, bytes) and b"FETCH" in item:
139139
continue

0 commit comments

Comments
 (0)