From 0d4fe0f230d780adbe7e28ca12cd163526888512 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 13 Oct 2024 23:42:39 -0700 Subject: [PATCH] fix --- sweebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweebot.py b/sweebot.py index dd4d837..7b2f910 100644 --- a/sweebot.py +++ b/sweebot.py @@ -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: