mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-10 02:20:09 +01:00
little error in httpRequest Plugin
This commit is contained in:
parent
5f9bfa7a63
commit
25daa26c98
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue