1
1
mirror of https://github.com/r4sas/PBinCLI synced 2025-01-24 21:44:27 +00:00

[codacy] except ValueError

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-01-24 08:12:08 +03:00
parent 369738ea50
commit 05c1938aa6
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -40,5 +40,5 @@ def uri_validator(x):
try:
result = urlparse(x)
return all([result.scheme, result.netloc])
except:
except ValueError:
return False