aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/postprocessor/sponskrub.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 01:39:26 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 05:32:50 +0530
commitf9934b96145af8ac5dfdcbf684827aeaea9912a7 (patch)
tree0a00b551be555ed8aa70eac863cc83d335dc7b8a /yt_dlp/postprocessor/sponskrub.py
parentcfb0511d822b39748c5a64dfe86b61ff8d5af176 (diff)
[cleanup] Mark some compat variables for removal (#2173)
Authored by fstirlitz, pukkandan
Diffstat (limited to 'yt_dlp/postprocessor/sponskrub.py')
-rw-r--r--yt_dlp/postprocessor/sponskrub.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/postprocessor/sponskrub.py b/yt_dlp/postprocessor/sponskrub.py
index 86149aeef..59cf0e0c3 100644
--- a/yt_dlp/postprocessor/sponskrub.py
+++ b/yt_dlp/postprocessor/sponskrub.py
@@ -1,9 +1,9 @@
from __future__ import unicode_literals
import os
+import shlex
import subprocess
from .common import PostProcessor
-from ..compat import compat_shlex_split
from ..utils import (
check_executable,
cli_option,
@@ -79,7 +79,7 @@ class SponSkrubPP(PostProcessor):
if not self.cutout:
cmd += ['-chapter']
cmd += cli_option(self._downloader.params, '-proxy', 'proxy')
- cmd += compat_shlex_split(self.args) # For backward compatibility
+ cmd += shlex.split(self.args) # For backward compatibility
cmd += self._configuration_args(self._exe_name, use_compat=False)
cmd += ['--', information['id'], filename, temp_filename]
cmd = [encodeArgument(i) for i in cmd]