From 05c1938aa69fb0c039d0155b5ca84a8f65a42ad4 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Mon, 24 Jan 2022 08:12:08 +0300 Subject: [PATCH] [codacy] except ValueError Signed-off-by: R4SAS --- pbincli/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbincli/utils.py b/pbincli/utils.py index c2bcdcf..3d8dd7b 100644 --- a/pbincli/utils.py +++ b/pbincli/utils.py @@ -40,5 +40,5 @@ def uri_validator(x): try: result = urlparse(x) return all([result.scheme, result.netloc]) - except: + except ValueError: return False \ No newline at end of file