This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Restore Python 2.6.<6 compatibility (
Fixes
#1860
)
totalwebcasting
Philipp Hagemeister
11 years ago
parent
7cc3570e53
commit
ac79fa02b8
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/utils.py
+ 1
- 1
youtube_dl/utils.py
View File
@ -547,7 +547,7 @@ def make_HTTPS_handler(opts_no_check_certificate):
def
connect
(
self
)
:
def
connect
(
self
)
:
sock
=
socket
.
create_connection
(
(
self
.
host
,
self
.
port
)
,
self
.
timeout
)
sock
=
socket
.
create_connection
(
(
self
.
host
,
self
.
port
)
,
self
.
timeout
)
if
self
.
_tunnel_host
:
if
getattr
(
self
,
'
_tunnel_host
'
,
False
)
:
self
.
sock
=
sock
self
.
sock
=
sock
self
.
_tunnel
(
)
self
.
_tunnel
(
)
try
:
try
:
Write
Preview
Loading…
Cancel
Save