Skip to content

Commit 2bbfec7

Browse files
author
rootware
committed
added hashshadow message
1 parent d7a5841 commit 2bbfec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyredactkit/redact.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def allowed_file(self, file):
8585
def write_hashmap(self, hash_map, filename):
8686
with open(f".hashshadow_{os.path.basename(filename)}.json", "w", encoding="utf-8") as file:
8787
json.dump(hash_map, file)
88+
print(
89+
f"[ + ].hashshadow_{os.path.basename(filename)}.json file generated. Keep this safe if you need to undo the redaction.")
8890

8991
def valid_options(self):
9092
"""Function to read in valid options from Identifier.regexes

0 commit comments

Comments
 (0)