aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:21:46 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:21:46 +0100
commitb74e86f48aa6d007b681e2723ff28fe82a49fa9d (patch)
tree660c068ab4ea4835c8311c974b029360d5350875 /youtube_dl/__init__.py
parent3d36cea4aca303f6bde5b5453f4e3aeec8ee41e1 (diff)
Fix all PEP8 issues except E501
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 427b6ad27..77b3384a0 100644
--- 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.
- if opts.allsubtitles and (opts.writeautomaticsub == False):
+ if opts.allsubtitles and not opts.writeautomaticsub:
opts.writesubtitles = True
if sys.version_info < (3,):