From b1070aa7aad92cce1bf6f9249abc1523e7c4d536 Mon Sep 17 00:00:00 2001 From: ArendvD Date: Mon, 24 Aug 2020 17:05:49 +0200 Subject: [PATCH] Fix downloader.supported_language --- polyglot/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polyglot/downloader.py b/polyglot/downloader.py index bcc7a50..e5f4641 100644 --- a/polyglot/downloader.py +++ b/polyglot/downloader.py @@ -948,7 +948,7 @@ def get_collection(self, lang=None, task=None): if lang: raise LanguageNotSupported("Language {} is not supported".format(id)) if task: raise TaskNotSupported("Task {} is not supported".format(id)) - def supported_language(lang): + def supported_language(self, lang): """Return True if polyglot supports the language. Args: