mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-26 01:44:20 +01:00
fix error in httpRequest plugin
This commit is contained in:
parent
475039c171
commit
9bfe832530
|
|
@ -58,7 +58,7 @@ def run(typ,freq,data):
|
|||
logging.warning("Invalid Typ: %s", typ)
|
||||
|
||||
httprequest = httplib.HTTPConnection(url)
|
||||
httprequest.request("HEAD", path)
|
||||
httprequest.request("HEAD", url)
|
||||
|
||||
except:
|
||||
logging.exception("cannot send HTTP request")
|
||||
|
|
|
|||
Loading…
Reference in a new issue