aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-04-30 20:18:42 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-04-30 20:18:42 +0200
commitdf8301fef55f9144f06337c10b8570b6560caa24 (patch)
treea3a33afeeb2ddaf61d91af4fb20b8a15a428ddaf
parent4070b458ece46a29dad9be2312a7daa48bb2f1d7 (diff)
[YoutubeDL] pep8: use 'k not in' instead of 'not k in'
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index e747c6892..584dbf8a6 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -1339,7 +1339,7 @@ class YoutubeDL(object):
self.to_screen('[info] Writing video description metadata as JSON to: ' + infofn)
filtered_info_dict = dict(
(k, v) for k, v in info_dict.items()
- if not k in ['requested_formats', 'requested_subtitles'])
+ if k not in ['requested_formats', 'requested_subtitles'])
try:
write_json_file(filtered_info_dict, infofn)
except (OSError, IOError):