From 1c302d4a184ea5048639c9bac4e0eba1b272d81d Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Wed, 14 Nov 2018 00:46:42 +0100 Subject: [PATCH] flake8 fixes for eurosport --- lib/svtplay_dl/service/eurosport.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/svtplay_dl/service/eurosport.py b/lib/svtplay_dl/service/eurosport.py index a1be456..2472fe4 100644 --- a/lib/svtplay_dl/service/eurosport.py +++ b/lib/svtplay_dl/service/eurosport.py @@ -1,7 +1,6 @@ from __future__ import absolute_import import re import json -import uuid from urllib.parse import urlparse, quote from svtplay_dl.service import Service @@ -23,7 +22,7 @@ class Eurosport(Service): clientapikey = janson["sdk"]["clientApiKey"] devices = "https://eu.edge.bamgrid.com/devices" - postdata = {"deviceFamily": "browser", "applicationRuntime":"firefox", "deviceProfile":"macosx", "attributes": {}} + postdata = {"deviceFamily": "browser", "applicationRuntime": "firefox", "deviceProfile": "macosx", "attributes": {}} header = {"authorization": "Bearer {}".format(clientapikey)} res = self.http.post(devices, headers=header, json=postdata)