diff options
author | Cat Lee Ball 🎷🐛 <cball@google.com> | 2019-03-28 15:32:23 -0700 |
---|---|---|
committer | Cat Lee Ball 🎷🐛 <cball@google.com> | 2019-03-28 15:32:23 -0700 |
commit | 07d258e6640a64bc4ebcc62fe30a10e1909c00a1 (patch) | |
tree | 1cc7789d5bc4b8f064b4dbf1b0f3763cc4065a19 | |
parent | f34dff64a04a453d7e1862d5c0b9d63a0930fb8b (diff) | |
download | boto-07d258e6640a64bc4ebcc62fe30a10e1909c00a1.tar.gz |
Replaced get_utf8_value calls in mturk with get_utf8able_str
-rw-r--r-- | boto/mturk/connection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boto/mturk/connection.py b/boto/mturk/connection.py index 5ff4216b..672ceb78 100644 --- a/boto/mturk/connection.py +++ b/boto/mturk/connection.py @@ -988,7 +988,7 @@ class QualificationRequest(BaseAutoResultElement): if name == 'Answer': answer_rs = ResultSet([('Answer', QuestionFormAnswer)]) h = handler.XmlHandler(answer_rs, connection) - value = connection.get_utf8_value(value) + value = connection.get_utf8able_str(value) xml.sax.parseString(value, h) self.answers.append(answer_rs) else: @@ -1013,7 +1013,7 @@ class Assignment(BaseAutoResultElement): if name == 'Answer': answer_rs = ResultSet([('Answer', QuestionFormAnswer)]) h = handler.XmlHandler(answer_rs, connection) - value = connection.get_utf8_value(value) + value = connection.get_utf8able_str(value) xml.sax.parseString(value, h) self.answers.append(answer_rs) else: |