From 2719d804eb14104f65588a360e126ca8c9386443 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Wed, 8 Dec 2021 00:56:20 +0300 Subject: [PATCH] fix no REDIRECT_URL in env (for tokens consuming only) --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 483247c..2b94266 100644 --- a/config.py +++ b/config.py @@ -10,7 +10,7 @@ log_level = os.getenv('LOG_LEVEL', 'DEBUG').upper() access_key = os.getenv('access_key') -REDIRECT_URL = requests.utils.quote(os.getenv('REDIRECT_URL')) +REDIRECT_URL = requests.utils.quote(os.getenv('REDIRECT_URL', '')) AUTH_URL = 'https://auth.frontierstore.net/auth' TOKEN_URL = 'https://auth.frontierstore.net/token' PROPER_USER_AGENT = 'EDCD-a31-0.2'