Skip to content

Commit

Permalink
Logging : fix filter (OpenBB-finance#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chavithra authored Mar 31, 2022
1 parent 057180d commit 6346268
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openbb_terminal/log/generation/formatter_with_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def filter_piis(text: str) -> str:
s_list.append("suspected_ip")
elif "@" in word and "." in word:
s_list.append("suspected_email")
elif os.sep in word and f"OpenBBTerminal{os.sep}" in word:
elif (
f"OpenBBTerminal{os.sep}" in word
or f"GamestonkTerminal{os.sep}" in word
):
s_list.append(
word.split(f"OpenBBTerminal{os.sep}")[1]
.replace('"', "")
Expand Down

0 comments on commit 6346268

Please sign in to comment.