Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcnally-r7 committed Jan 8, 2025
1 parent dc73951 commit c05dc4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/sentinelone/komand_sentinelone/util/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def format_subdomain(instance: str) -> str:

# Remove the scheme if it exists
if instance.startswith("http://"):
instance = instance[len("http://"):]
instance = instance[len("http://") :]
elif instance.startswith("https://"):
instance = instance[len("https://"):]
instance = instance[len("https://") :]

# Remove the SentinelOne domain suffix
if ".sentinelone.net" in instance:
Expand Down

0 comments on commit c05dc4a

Please sign in to comment.