Skip to content

Commit

Permalink
fix bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Nov 13, 2023
1 parent ba28639 commit 450c964
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion credsweeper/credentials/line_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def get_span_from_match_obj(_match_obj: re.Match, group: str) -> Tuple[int, int]
self.sanitize_value()
self.sanitize_variable()

def sanitize_value():
def sanitize_value(self):
"""Clean found value from extra artifacts"""
_value = self.value
self.clean_url_parameters()
self.clean_bash_parameters()
Expand Down

0 comments on commit 450c964

Please sign in to comment.