Fix PEP8 issue

pull/1416/head
Kévin C 2018-02-15 12:53:51 +01:00 committed by GitHub
parent f0869dcf31
commit 692877fa07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ def extract_datetime(text, anchorDate=None, lang="en-us"):
elif lang_lower.startswith("fr"):
return extract_datetime_fr(text, anchorDate)
elif lang_lower.startswith("sv"):
return extract_datetime_sv(text, anchorDate)
return extract_datetime_sv(text, anchorDate)
# TODO: extract_datetime for other languages
return text
# ==============================================================