Spaces:
Runtime error
Runtime error
Update replace_explitives.py
Browse files- 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(
|
| 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
|