Skip to content

Commit 058849f

Browse files
authored
Merge pull request jxmorris12#32 from aokellermann/bug/FixMothertongueAssignment
Fix Mothertongue Assignment
2 parents 1cf63ab + f66a103 commit 058849f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎language_tool_python/server.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def motherTongue(self):
8686
@motherTongue.setter
8787
def motherTongue(self, motherTongue):
8888
self._motherTongue = (None if motherTongue is None
89-
else LanguageTag(motherTongue))
89+
else LanguageTag(motherTongue, self._get_languages()))
9090
@property
9191
def _spell_checking_categories(self):
9292
return {'TYPOS'}

0 commit comments

Comments
 (0)