diff --git a/languages.py b/languages.py index 0549c7246..48a96e1a6 100644 --- a/languages.py +++ b/languages.py @@ -243,7 +243,7 @@ def add_links_to_content(content: str, links: {}) -> str: def libretranslate(url: str, text: str, - source: str, target: str, api_key: str = None) -> str: + source: str, target: str, api_key: str) -> str: """Translate string using libretranslate """ if not url: