From 87b564d609b79ed40baad84e135260dd51130ad3 Mon Sep 17 00:00:00 2001 From: Thomas Lau Date: Fri, 5 Nov 2021 11:14:09 +0000 Subject: [PATCH] fix --- zspotify/zspotify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zspotify/zspotify.py b/zspotify/zspotify.py index 6c3ec53..a3f5e60 100644 --- a/zspotify/zspotify.py +++ b/zspotify/zspotify.py @@ -80,14 +80,14 @@ class ZSpotify: def get_auth_header(cls): return { 'Authorization': f'Bearer {cls.__get_auth_token()}', - 'Accept-Language': f'{cls.CONFIG.get(LANGUAGE)}' + 'Accept-Language': f'{cls.CONFIG.get("LANGUAGE")}' } @classmethod def get_auth_header_and_params(cls, limit, offset): return { 'Authorization': f'Bearer {cls.__get_auth_token()}', - 'Accept-Language': f'{cls.CONFIG.get(LANGUAGE)}' + 'Accept-Language': f'{cls.CONFIG.get("LANGUAGE")}' }, {LIMIT: limit, OFFSET: offset} @classmethod