Skip to content

Commit 2d5b2d8

Browse files
committed
- fix python 3 issue
1 parent a200f1f commit 2d5b2d8

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

africastalking/AfricasTalkingGateway.py

-5
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,6 @@ def sendRequest(self, urlString, data_ = None):
297297
else:
298298
self.responseCode = resp.status_code
299299

300-
print(resp)
301-
print(data_)
302-
print(resp.status_code)
303-
print(urlString)
304-
305300
response = resp.text
306301
if self.Debug:
307302
print("Raw response: " + response)

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[metadata]
2-
description-file = README.md
2+
description-file = README.md

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
description='An Official Python library for communicating with the AfricasTalking REST API',
1414
author='Ian Juma',
1515
install_requires=[
16-
'requests'
16+
'requests>=2.11.0'
1717
],
1818
author_email='ijuma@africastalking.com',
1919
url='https://github.com/AfricasTalkingLtd/africastalking-python',
20-
download_url='https://codeload.github.com/AfricasTalkingLtd/africastalking-python/tar.gz/1.6',
20+
download_url='https://codeload.github.com/AfricasTalkingLtd/africastalking-python/tar.gz/1.7',
2121
keywords=['ussd', 'voice', 'sms', 'mpesa', 'payments', 'africastalking'],
2222
classifiers=[],
2323
)

0 commit comments

Comments
 (0)