1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

[dtube] PEP 8 (#17455)

This commit is contained in:
Sergey M․ 2018-09-08 17:24:09 +07:00
parent ae2384ff5f
commit 6f9f3340bb
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -59,7 +59,7 @@ class DTubeIE(InfoExtractor):
try: try:
self.to_screen('%s: Checking %s video format URL' % (video_id, format_id)) self.to_screen('%s: Checking %s video format URL' % (video_id, format_id))
self._downloader._opener.open(video_url, timeout=5).close() self._downloader._opener.open(video_url, timeout=5).close()
except timeout as e: except timeout:
self.to_screen( self.to_screen(
'%s: %s URL is invalid, skipping' % (video_id, format_id)) '%s: %s URL is invalid, skipping' % (video_id, format_id))
continue continue