I forgot important piece of code
This commit is contained in:
parent
aece55c786
commit
076610caf6
4
sms.py
4
sms.py
|
@ -375,6 +375,10 @@ class Web_Service (BaseHTTPRequestHandler):
|
|||
html_footer ()
|
||||
).encode ('utf-8'))
|
||||
return ()
|
||||
if name is None:
|
||||
name = number
|
||||
else:
|
||||
name = name + ' (' + number + ')'
|
||||
self.send_response (200)
|
||||
self.send_header ('Content-type', 'text/html; charset=UTF-8')
|
||||
self.end_headers ()
|
||||
|
|
Loading…
Reference in New Issue