From afe58516cb9301c9387a7a1e781a61c0293f33b6 Mon Sep 17 00:00:00 2001 From: Jannik Schaper <jannik.a.schaper@web.de> Date: Thu, 23 May 2024 14:12:56 +0200 Subject: [PATCH] Remove token from translatePosts.py lul --- translatePosts.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/translatePosts.py b/translatePosts.py index b098d53..c5d07be 100644 --- a/translatePosts.py +++ b/translatePosts.py @@ -4,8 +4,7 @@ import deepl import io from os.path import exists -auth_key = "49a47c30-2625-47f8-9ecb-3aec8a52329c:fx" # Replace with your key -translator = deepl.Translator(auth_key) +translator = deepl.Translator(os.environ.get("DEEPL_KEY")) path = ("content/posts/") print(path) -- GitLab