aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/compat.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-18 02:12:48 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-18 02:12:48 +0530
commitb6dc37fe2aee167bf11f863f960a4888f4886718 (patch)
tree0f54c44d32768acf9066bae7c0791e162e877369 /yt_dlp/compat.py
parent3d3bb1688bfc5373105e6bf7c3d4729cf3f78788 (diff)
downloadhypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.tar.lz
hypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.tar.xz
hypervideo-pre-b6dc37fe2aee167bf11f863f960a4888f4886718.zip
[test] Convert warnings into errors
* And fix some existing warnings Authored by: fstirlitz
Diffstat (limited to 'yt_dlp/compat.py')
-rw-r--r--yt_dlp/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/compat.py b/yt_dlp/compat.py
index 9d3a6bbfd..df0c54606 100644
--- a/yt_dlp/compat.py
+++ b/yt_dlp/compat.py
@@ -159,7 +159,7 @@ def windows_enable_vt_mode(): # TODO: Do this the proper way https://bugs.pytho
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
try:
- subprocess.Popen('', shell=True, startupinfo=startupinfo)
+ subprocess.Popen('', shell=True, startupinfo=startupinfo).wait()
WINDOWS_VT_MODE = True
except Exception:
pass