From f84263b781a8e1fe1b3c0bbab4eecec129d5e5fa Mon Sep 17 00:00:00 2001 From: KopekC Date: Wed, 7 Aug 2024 14:04:48 -0400 Subject: [PATCH] minimal fix --- proxylist/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxylist/models.py b/proxylist/models.py index cf813fb..c9b12f4 100644 --- a/proxylist/models.py +++ b/proxylist/models.py @@ -21,7 +21,7 @@ def validate_sip002(value) -> None: ) -def validate_not_existing(value)-> None: +def validate_not_existing(value) -> None: if Proxy.objects.filter(url=get_sip002(instance_url=value)): raise ValidationError( "This proxy was already imported", @@ -38,7 +38,7 @@ def validate_proxy_can_connect(value) -> None: ) -def proxy_validator(value) -> None:: +def proxy_validator(value) -> None: validate_sip002(value=value) validate_not_existing(value=value) validate_proxy_can_connect(value=value)