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

Return empty list of languages by default

This really does not have to be abstract method as overriding
is_supported removes need for it.
parent ed778e6d
...@@ -80,7 +80,7 @@ class MachineTranslation(object): ...@@ -80,7 +80,7 @@ class MachineTranslation(object):
''' '''
Downloads list of supported languages from a service. Downloads list of supported languages from a service.
''' '''
raise NotImplementedError() return []
def download_translations(self, language, text): def download_translations(self, language, text):
''' '''
......
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