Skip to content

Commit

Permalink
ensure language prefix is uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Aug 8, 2018
1 parent fc82600 commit 2b202fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isogeo_pysdk/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def __init__(self, lang="FR"):
:param str lang: language code to apply. EN or FR.
"""
if lang == "FR":
if lang.upper() == "FR":
self.translations = dict_md_fields_fr
else:
self.translations = dict_md_fields_en
Expand Down

0 comments on commit 2b202fa

Please sign in to comment.