From 710db7e94ff6407731c748410e2e8de9fdd5eeec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Sun, 16 Feb 2020 11:42:16 -0500 Subject: [PATCH] WIP --- bazarr.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bazarr.py b/bazarr.py index ac6e8e2be..8faa7519b 100644 --- a/bazarr.py +++ b/bazarr.py @@ -108,10 +108,7 @@ def start_bazarr(process_registry=ProcessRegistry()): script = [sys.executable, "-u", os.path.normcase(os.path.join(dir_name, 'bazarr', 'main.py'))] + sys.argv[1:] print("Bazarr starting...") - if PY3: - ep = subprocess.Popen(script, stdout=None, stderr=None, stdin=subprocess.DEVNULL) - else: - ep = subprocess.Popen(script, stdout=None, stderr=None, stdin=None) + ep = subprocess.Popen(script, stdout=None, stderr=None, stdin=subprocess.DEVNULL) process_registry.register(ep) try: ep.wait()