Skip to content

Commit

Permalink
removed isurl
Browse files Browse the repository at this point in the history
  • Loading branch information
SOOS-JAlvarez committed Feb 2, 2024
1 parent 4085888 commit 8521ea9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/zap_hooks/helpers/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging

from src.zap_hooks.helpers.browser_storage import BrowserStorage
from src.zap_hooks.helpers.utilities import array_to_dict, log, isUrl
from src.zap_hooks.helpers.utilities import array_to_dict, log
from src.zap_hooks.model.log_level import LogLevel
from src.zap_hooks.helpers.logging import LoggingFilter

Expand Down
3 changes: 0 additions & 3 deletions src/zap_hooks/helpers/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,3 @@ def is_serializable(value):
except (TypeError, OverflowError):
return False

def isUrl(url: str) -> bool:
return url.startswith('http://') or url.startswith('https://')

0 comments on commit 8521ea9

Please sign in to comment.