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
[compat] Beautify assertion
totalwebcasting
Philipp Hagemeister
10 years ago
parent
4aae94f9d0
commit
b061ea6e9f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/compat.py
+ 1
- 1
youtube_dl/compat.py
View File
@ -270,7 +270,7 @@ if sys.version_info < (3, 0):
print
(
s
.
encode
(
preferredencoding
(
)
,
'
xmlcharrefreplace
'
)
)
else
:
def
compat_print
(
s
)
:
assert
type
(
s
)
==
type
(
u
'
'
)
assert
isinstance
(
s
,
compat_str
)
print
(
s
)
Write
Preview
Loading…
Cancel
Save