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:
parent
369738ea50
commit
05c1938aa6
@ -40,5 +40,5 @@ def uri_validator(x):
|
||||
try:
|
||||
result = urlparse(x)
|
||||
return all([result.scheme, result.netloc])
|
||||
except:
|
||||
except ValueError:
|
||||
return False
|
Loading…
x
Reference in New Issue
Block a user