- Notifications
You must be signed in to change notification settings - Fork106
Closed
Description
We just got this exception when being used in a lambda since sys.stdin is None:
File \"/var/task/nameparser/config/__init__.py\", line 95, in add_with_encoding encoding = encoding or sys.stdin.encoding or DEFAULT_ENCODINGAttributeError: 'NoneType' object has no attribute 'encoding'",perhaps using stdout is better as it's less likely to not be available, or expanding the check for it being None