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

4
.gitignore vendored
View File

@ -61,3 +61,7 @@ target/
# Config files # Config files
config.py config.py
mailbox.csv mailbox.csv
# other
.idea/
smsgateway.iml

View File

@ -200,11 +200,11 @@ def send_ascii_sms(phonenumber, sms):
raise raise
def send_pdu_sms(pdustring, pdulenght): def send_pdu_sms(pdustring, pdulength):
""" """
Send SMS using telnetlib, returns exception when issues with telnet communication Send SMS using telnetlib, returns exception when issues with telnet communication
:param pdustring: is the converted sms to pdu format :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: try:
time.sleep(2) time.sleep(2)