mskov commited on
Commit
a7827a1
1 Parent(s): e91d036

Update replace_explitives.py

Browse files
Files changed (1) hide show
  1. replace_explitives.py +1 -1
replace_explitives.py CHANGED
@@ -23,6 +23,6 @@ def sub_explitives(textfile, selection):
23
 
24
  if target_word:
25
  print("target word was found, ", target_word)
26
- print(text)
27
  textfile = re.sub(target_word, replacetext, textfile, flags=re.IGNORECASE)
28
  return textfile
 
23
 
24
  if target_word:
25
  print("target word was found, ", target_word)
26
+ print(textfile)
27
  textfile = re.sub(target_word, replacetext, textfile, flags=re.IGNORECASE)
28
  return textfile