summaryrefslogtreecommitdiffstats
path: root/pyload/config/Setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/config/Setup.py')
-rw-r--r--pyload/config/Setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/config/Setup.py b/pyload/config/Setup.py
index 7e3fbffec..1486eadca 100644
--- a/pyload/config/Setup.py
+++ b/pyload/config/Setup.py
@@ -5,10 +5,10 @@ from __future__ import with_statement
import __builtin__
import os
+import subprocess
import sys
from getpass import getpass
-from subprocess import PIPE, call
from pyload.network.JsEngine import JsEngine
from pyload.utils import get_console_encoding, load_translation, fs_join, versiontuple
@@ -481,7 +481,7 @@ class SetupAssistant(object):
def check_prog(self, command):
pipe = PIPE
try:
- call(command, stdout=pipe, stderr=pipe)
+ subprocess.call(command, stdout=pipe, stderr=pipe)
return True
except Exception:
return False