Remove unused argument

This commit is contained in:
ines 2017-05-12 15:37:54 +02:00
parent c13b3fa052
commit c4857bc7db
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def get_lang_class(name):
return LANGUAGES[lang]
def load_lang_class(lang, depth='.'):
def load_lang_class(lang):
module = importlib.import_module('.lang.%s' % lang, 'spacy')
return getattr(module, module.__all__[0])