kill %s
This commit is contained in:
parent
141fe8d80c
commit
f81cf21b57
10 changed files with 18 additions and 18 deletions
|
@ -25,8 +25,8 @@ def snopes(inp):
|
|||
if status is not None:
|
||||
status = status.group(0).strip()
|
||||
else: # new-style statuses
|
||||
status = "Status: %s." % re.search(r"FALSE|TRUE|MIXTURE|UNDETERMINED",
|
||||
snopes_text).group(0).title()
|
||||
status = "Status: {}.".format(re.search(r"FALSE|TRUE|MIXTURE|UNDETERMINED",
|
||||
snopes_text).group(0).title())
|
||||
|
||||
claim = re.sub(r"[\s\xa0]+", " ", claim) # compress whitespace
|
||||
status = re.sub(r"[\s\xa0]+", " ", status)
|
||||
|
|
Reference in a new issue