WatchWebsite module: can alert when a site is up or down
This commit is contained in:
parent
eada0c71e7
commit
ab557dc8e8
2 changed files with 13 additions and 5 deletions
|
|
@ -48,8 +48,7 @@ def cmd_isup(msg):
|
|||
res.append(Response(msg.sender, "%s n'est pas une URL valide" % url, channel=msg.channel))
|
||||
return res
|
||||
else:
|
||||
return Response(msg.sender, "Indiquer une URL a verifier !", channel=msg.channel)
|
||||
|
||||
return Response(msg.sender, "Indiquer une URL à vérifier !", channel=msg.channel)
|
||||
|
||||
def traceURL(url, timeout=5, stack=None):
|
||||
"""Follow redirections and return the redirections stack"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue