We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 384d52d commit 62c867eCopy full SHA for 62c867e
mcp_email_server/emails/classic.py
@@ -133,7 +133,7 @@ async def get_emails_stream(
133
else:
134
# Fallback to searching through all items
135
for _, item in enumerate(data):
136
- if isinstance(item, (bytes, bytearray)) and len(item) > 100:
+ if isinstance(item, bytes | bytearray) and len(item) > 100:
137
# Skip header lines that contain FETCH
138
if isinstance(item, bytes) and b"FETCH" in item:
139
continue
0 commit comments