Skip to content

Commit 978381c

Browse files
committed
Fix utf typo
Switch “uft-8” to “utf-8”
1 parent 4d2cc1d commit 978381c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sendgrid/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def add_attachment(self, name, file_):
127127

128128
def add_attachment_stream(self, name, string):
129129
if sys.version_info < (3, 0) and isinstance(name, unicode):
130-
name = name.encode('uft-8')
130+
name = name.encode('utf-8')
131131
if isinstance(string, str):
132132
self.files[name] = string
133133
elif isinstance(string, io.BytesIO):

0 commit comments

Comments
 (0)