Skip to content

Commit 076f376

Browse files
authored
Convert integer substitution value to string (#838)
1 parent 71c6802 commit 076f376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sendgrid/helpers/mail/substitution.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def value(self):
4848
4949
:rtype value: string
5050
"""
51-
return self._value
51+
return str(self._value) if isinstance(self._value, int) else self._value
5252

5353
@value.setter
5454
def value(self, value):

0 commit comments

Comments
 (0)