fix no REDIRECT_URL in env (for tokens consuming only)

This commit is contained in:
norohind 2021-12-08 00:56:20 +03:00
parent 2e04c92402
commit 2719d804eb
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -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'