diff options
author | mcd1992 <theanonbutinf@gmail.com> | 2014-08-23 14:30:13 -0500 |
---|---|---|
committer | mcd1992 <theanonbutinf@gmail.com> | 2014-08-24 14:38:43 -0500 |
commit | a2360a4c80700824f4160505fcdb1ca14261c031 (patch) | |
tree | 8fa93cf21b06d63e98e098a8d560b8f9fb705ad3 /youtube_dl/__init__.py | |
parent | a7cacbca2b140f668785d57264914de5585ed699 (diff) |
Moved from os.system to subprocess.call
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r-- | youtube_dl/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 189a8ff35..4eae88d6c 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -123,7 +123,7 @@ from .postprocessor import ( FFmpegExtractAudioPP, FFmpegEmbedSubtitlePP, XAttrMetadataPP, - ExecAfterDownload, + ExecAfterDownloadPP, ) @@ -865,7 +865,7 @@ def _real_main(argv=None): # Please keep ExecAfterDownload towards the bottom as it allows the user to modify the final file in any way. # So if the user is able to remove the file before your postprocessor runs it might cause a few problems. if opts.execstring: - ydl.add_post_processor(ExecAfterDownload(commandString=opts.execstring)) + ydl.add_post_processor(ExecAfterDownloadPP(verboseOutput=opts.verbose,commandString=opts.execstring)) # Update version if opts.update_self: |