1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2026-04-30 18:53:26 +00:00

Improve code style

This commit is contained in:
Philipp Hagemeister
2014-12-17 00:06:41 +01:00
parent 876bef5937
commit 7af808a5ef
7 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -363,7 +363,7 @@ def encodeArgument(s):
if not isinstance(s, compat_str):
# Legacy code that uses byte strings
# Uncomment the following line after fixing all post processors
#assert False, 'Internal error: %r should be of type %r, is %r' % (s, compat_str, type(s))
# assert False, 'Internal error: %r should be of type %r, is %r' % (s, compat_str, type(s))
s = s.decode('ascii')
return encodeFilename(s, True)