diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-03 17:18:39 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-03 17:18:39 -0500 |
commit | c62293c5cbc2305c1969572661546e1c351558ce (patch) | |
tree | 5c7a8d8d40fc7529ee219a7b87fcd8df0155d6e2 /youtube | |
parent | 7dd3c4304d2c89868bd10198777ca5c9ef44f78b (diff) | |
download | yt-local-c62293c5cbc2305c1969572661546e1c351558ce.tar.lz yt-local-c62293c5cbc2305c1969572661546e1c351558ce.tar.xz yt-local-c62293c5cbc2305c1969572661546e1c351558ce.zip |
pep 8
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/watch.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube/watch.py b/youtube/watch.py index f710134..ce1637b 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -8,7 +8,6 @@ from flask import request import flask import json -import html import gevent import os import math @@ -39,8 +38,7 @@ def get_video_sources(info): 'width': fmt['width'], }) - #### order the videos sources so the preferred resolution is first ### - + # order the videos sources so the preferred resolution is first # video_sources.sort(key=lambda source: source['quality'], reverse=True) return video_sources |