From b371b4047f1b0d05f144d52f6096b7b2e449b1b0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 19 Feb 2024 13:41:52 +0000 Subject: [PATCH] Remove default arguments --- languages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: