pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/altiria/sms-python-client/commit/ab905162e8e211b74dcf9f94701335ca9519b7ca

unicode bugs fixed · altiria/sms-python-client@ab90516 · GitHub
Skip to content

Commit ab90516

Browse files
committed
unicode bugs fixed
1 parent cb5ec1d commit ab90516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sms_api/altiria_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self, login, password, timeout=None):
6969

7070
# API URL
7171
urlBase='https://www.altiria.net:8443/apirest/ws'
72-
72+
7373
# Library name/version
7474
source='lib-python-pip-1_0'
7575

@@ -135,7 +135,7 @@ def sendSms(self, textMessage):
135135

136136
try:
137137
response = requests.post(self.urlBase+'/sendSms',
138-
data=JSON.dumps(jsonData,ensure_ascii=False).encode('utf-8'),
138+
data=JSON.dumps(jsonData),
139139
headers=contentType,
140140
timeout=(self.__connectionTimeout/1000, self.__timeout/1000))
141141
log.info('HTTP status: '+str(response.status_code))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy