little error in httpRequest Plugin

This commit is contained in:
Bastian Schroll 2015-07-01 20:33:43 +02:00
parent 5f9bfa7a63
commit 25daa26c98

View file

@ -90,8 +90,8 @@ def run(typ,freq,data):
url = url.replace("%MSG%", data["msg"]).replace("%BITRATE%", str(data["bitrate"])) #replace Wildcards
else:
logging.warning("Invalid Typ: %s", typ)
raise
return
#same in all types
url = url.replace("%DESCR%", data["description"]) # replace Wildcards
url = url.replace("%TIME%", helper.curtime("%H:%M:%S")) # replace Wildcards