Remove u-prefixes.

This commit is contained in:
Aymeric Augustin
2019-12-22 16:21:27 +01:00
parent c824d15aa1
commit 6b2200fc88
2 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ def process_story(raw_story):
def _add_missing_period(line):
END_TOKENS = [".", "!", "?", "...", "'", "`", '"', u"\u2019", u"\u2019", ")"]
END_TOKENS = [".", "!", "?", "...", "'", "`", '"', "\u2019", "\u2019", ")"]
if line.startswith("@highlight"):
return line
if line[-1] in END_TOKENS: