Skip to content

Commit

Permalink
Allow to pass language with any-case letters
Browse files Browse the repository at this point in the history
  • Loading branch information
miso-belica authored Feb 11, 2024
1 parent 0bcec9f commit 4433e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sumy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def normalize_language(language):
except KeyError:
pass

return language
return language.lower()


def fetch_url(url, timeout=(3.05, 30)):
Expand Down

0 comments on commit 4433e96

Please sign in to comment.