Commit d9f4916a authored by Michal Čihař's avatar Michal Čihař

Do not try to use language modifiers on MyMemory

parent 3be12c29
...@@ -36,9 +36,9 @@ class MyMemoryTranslation(MachineTranslation): ...@@ -36,9 +36,9 @@ class MyMemoryTranslation(MachineTranslation):
def is_supported(self, language): def is_supported(self, language):
''' '''
Any language is supported. Any language without modifiers is supported.
''' '''
return True return '@' not in language
def format_match(self, match): def format_match(self, match):
''' '''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment