From f377309f79e1dc219b8cbb8a4fbf74bfb7767ea7 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 25 Mar 2016 17:29:11 +0100 Subject: [PATCH] Correct variable issue --- .gitignore | 6 +++++- smsgateway.py | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0a3db34..e479baa 100644 --- a/.gitignore +++ b/.gitignore @@ -60,4 +60,8 @@ target/ # Config files config.py -mailbox.csv \ No newline at end of file +mailbox.csv + +# other +.idea/ +smsgateway.iml \ No newline at end of file diff --git a/smsgateway.py b/smsgateway.py index f92635e..df43d97 100755 --- a/smsgateway.py +++ b/smsgateway.py @@ -200,11 +200,11 @@ def send_ascii_sms(phonenumber, sms): raise -def send_pdu_sms(pdustring, pdulenght): +def send_pdu_sms(pdustring, pdulength): """ Send SMS using telnetlib, returns exception when issues with telnet communication :param pdustring: is the converted sms to pdu format - :param pdulenght: is the size of the pdustring + :param pdulength: is the size of the pdustring """ try: time.sleep(2)