diff --git a/requirements.txt b/requirements.txt index 2df9c0a..c396386 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,10 @@ -cement>=2.8.2 +cement==2.8.2 +pystache>=0.5.4 +pynginxconfig>=0.3.4 +PyMySQL>=0.9.3 +psutil>=5.6.3 +sh>=1.12.14 +SQLAlchemy>=1.3.8 +requests>=2.22.0 +distro>=1.4.0 +apt-mirror-updater>=6.1 \ No newline at end of file diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index 35c481e..f80790e 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -95,8 +95,8 @@ def setupdomain(self, data): # Check nginx -t and return status over it try: Log.debug(self, "Checking generated nginx conf, please wait...") - FNULL = open('/dev/null', 'w') - subprocess.check_call(["/usr/sbin/nginx", "-t"], stdout=FNULL, + fnull = open('/dev/null', 'w') + subprocess.check_call(["/usr/sbin/nginx", "-t"], stdout=fnull, stderr=subprocess.STDOUT) Log.info(self, "[" + Log.ENDC + "Done" + Log.OKBLUE + "]") except CalledProcessError as e: