Correct variable issue
This commit is contained in:
parent
5f9f66265d
commit
f377309f79
4
.gitignore
vendored
4
.gitignore
vendored
@ -61,3 +61,7 @@ target/
|
||||
# Config files
|
||||
config.py
|
||||
mailbox.csv
|
||||
|
||||
# other
|
||||
.idea/
|
||||
smsgateway.iml
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user