mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 22:17:24 +00:00
rename globals. call to globalVars.
This commit is contained in:
parent
f8fcda94b6
commit
e938cdcd6d
27 changed files with 300 additions and 300 deletions
|
|
@ -70,11 +70,11 @@ def run(typ,freq,data):
|
|||
conn = httplib.HTTPSConnection("gateway.sms77.de:443")
|
||||
conn.request("POST", "",
|
||||
urllib.urlencode({
|
||||
"u": globals.config.get("Sms77", "user"),
|
||||
"p": globals.config.get("Sms77", "password"),
|
||||
"to": globals.config.get("Sms77", "to"),
|
||||
"from": globals.config.get("Sms77", "from"),
|
||||
"type": globals.config.get("Sms77", "type"),
|
||||
"u": globalVars.config.get("Sms77", "user"),
|
||||
"p": globalVars.config.get("Sms77", "password"),
|
||||
"to": globalVars.config.get("Sms77", "to"),
|
||||
"from": globalVars.config.get("Sms77", "from"),
|
||||
"type": globalVars.config.get("Sms77", "type"),
|
||||
"text": data["description"]+"<br>"+data["msg"].replace(";", "<br>")
|
||||
}),{"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue