Skip to content

Commit a65ac6a

Browse files
committed
Fix SMS issues.
1 parent 730c8dc commit a65ac6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

healthtools/sms/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ def create_sms(result, doc_type):
5959
for hit in result['hits'][:3]:
6060
response += '\n' + '{}. {}'.format(
6161
str(result_count),
62-
hit['_source'][get_sms_field(doc_type)].encode('utf-8')
62+
hit['_source'][get_sms_field(doc_type)]
6363
)
6464
result_count += 1
65-
response += '\nFind the full list at http://health.the-star.co.ke/'
65+
response += '\nFind the full list at http://www.the-star.co.ke/health/'
6666
log.info(response)
6767
return response

0 commit comments

Comments
 (0)