projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all PEP8 issues except E501
[youtube-dl]
/
youtube_dl
/
__init__.py
diff --git
a/youtube_dl/__init__.py
b/youtube_dl/__init__.py
index 427b6ad27c4dd11c768424fbaf0ceae158acabd9..77b3384a05fa45d6d4cada65decdb5588ade9100 100644
(file)
--- a/
youtube_dl/__init__.py
+++ b/
youtube_dl/__init__.py
@@
-189,7
+189,7
@@
def _real_main(argv=None):
# --all-sub automatically sets --write-sub if --write-auto-sub is not given
# this was the old behaviour if only --all-sub was given.
# --all-sub automatically sets --write-sub if --write-auto-sub is not given
# this was the old behaviour if only --all-sub was given.
- if opts.allsubtitles and
(opts.writeautomaticsub == False)
:
+ if opts.allsubtitles and
not opts.writeautomaticsub
:
opts.writesubtitles = True
if sys.version_info < (3,):
opts.writesubtitles = True
if sys.version_info < (3,):