1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-12-02 16:14:15 +01:00

flake8 over-indented for visual indent

This commit is contained in:
Johan Andersson 2018-02-26 00:04:39 +01:00
parent 8f126c3d49
commit 5339bdc265
3 changed files with 8 additions and 7 deletions

View File

@ -47,9 +47,9 @@ class Mtvnn(Service, OpenGraphThumbMixin):
hls_asset = self.http.request("get", hls_url) hls_asset = self.http.request("get", hls_url)
xml = ET.XML(hls_asset.text) xml = ET.XML(hls_asset.text)
if xml.find("./video") is not None and xml.find("./video").find("item") is not None and \ if xml.find("./video") is not None and xml.find("./video").find("item") is not None \
xml.find("./video").find("item").find("rendition") is not None and \ and xml.find("./video").find("item").find("rendition") is not None \
xml.find("./video").find("item").find("rendition").find("src") is not None: and xml.find("./video").find("item").find("rendition").find("src") is not None:
hls_url = xml.find("./video").find("item").find("rendition").find("src").text hls_url = xml.find("./video").find("item").find("rendition").find("src").text
stream = hlsparse(self.options, self.http.request("get", hls_url), hls_url) stream = hlsparse(self.options, self.http.request("get", hls_url), hls_url)

View File

@ -48,6 +48,7 @@ setup(
extras_require={"dev": [ extras_require={"dev": [
"flake8>=3.5, <3.6", "flake8>=3.5, <3.6",
"tox>=2.3, <3", "tox>=2.3, <3",
"rstcheck>=2.2, <4.0"] "rstcheck>=2.2, <4.0"
]
} }
) )