diff --git a/gvaweb/webtasks/tasks.py b/gvaweb/webtasks/tasks.py index 064f741..3331f97 100644 --- a/gvaweb/webtasks/tasks.py +++ b/gvaweb/webtasks/tasks.py @@ -75,7 +75,6 @@ def create_web_vhost_config(username, sitename, wildcard): finally: if conffile: conffile.close() - os.close(nginxtemp) try: subprocess.check_output([ SUDO_CMD, INSTALL_CMD, '-o', 'root', '-g', 'root', '-m', '0640', @@ -185,7 +184,6 @@ def create_web_php_fpm_pool_config(username): finally: if conffile: conffile.close() - os.close(fpmtemp) try: subprocess.check_output([ SUDO_CMD, INSTALL_CMD, '-o', 'root', '-g', 'root', '-m', '0644',