Skip to content

Commit f6623d4

Browse files
committed
Merge master into alpha
1 parent a9b5144 commit f6623d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

twilio/twiml/voice_response.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
from six import string_types
23

34
from twilio.twiml import TwiML
45

@@ -641,7 +642,7 @@ def __init__(self, attributes, **kwargs):
641642
:param attributes: Attributes for a task
642643
"""
643644
super(Task, self).__init__(**kwargs)
644-
if isinstance(attributes, basestring):
645+
if isinstance(attributes, string_types):
645646
self.value = attributes
646647
else:
647648
self.value = json.dumps(attributes)

0 commit comments

Comments
 (0)