Skip to content

Commit f66a103

Browse files
committed
Fix runtime error
1 parent 2e08dc5 commit f66a103

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)