Removed unused assignment

header set to {} then immediately given new value
This commit is contained in:
KitDaCatsun
2022-07-25 09:06:17 +01:00
committed by GitHub
parent e08e5efc88
commit dfc7af7796
-1
View File
@@ -28,7 +28,6 @@ class TidalAPI(object):
'clientSecret': 'vRAdA108tlvkJpTsGZS8rGZ7xTlbJ0qaZ2K9saEzsgY='}
def __get__(self, path, params={}, urlpre='https://api.tidalhifi.com/v1/'):
header = {}
header = {'authorization': f'Bearer {self.key.accessToken}'}
params['countryCode'] = self.key.countryCode
errmsg = "Get operation err!"