From b74e86f48aa6d007b681e2723ff28fe82a49fa9d Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sun, 23 Nov 2014 22:21:46 +0100 Subject: Fix all PEP8 issues except E501 --- youtube_dl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube_dl/__init__.py') 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,): -- cgit v1.2.3