fix
This commit is contained in:
parent
63b26cdb76
commit
0d4fe0f230
1 changed files with 2 additions and 2 deletions
|
@ -590,9 +590,9 @@ while True:
|
|||
else:
|
||||
multiline("(" + nick + ") [HTTP " + str(e.status_code) + "]", channel)
|
||||
except rex.SSLError as ex:
|
||||
multiline("(" + nick + ") [SSL Error: " + str(ex.__cause__) + "]", channel)
|
||||
multiline("(" + nick + ") [SSL Error: " + str(ex.message) + "]", channel)
|
||||
except:
|
||||
multiline("(" + nick + ") [Request error:" + str(ex.__cause__) + "]", channel)
|
||||
multiline("(" + nick + ") [Request error: " + str(ex.message) + "]", channel)
|
||||
elif i[:7] == "http://":
|
||||
e = get(i, headers=headers, timeout=10)
|
||||
if e.ok:
|
||||
|
|
Loading…
Reference in a new issue