Correct variable issue

This commit is contained in:
Paul Lecuq 2016-03-25 17:29:11 +01:00
parent 5f9f66265d
commit f377309f79
2 changed files with 7 additions and 3 deletions

6
.gitignore vendored
View File

@ -60,4 +60,8 @@ target/
# Config files
config.py
mailbox.csv
mailbox.csv
# other
.idea/
smsgateway.iml

View File

@ -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)