2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-23 04:29:02 +00:00

fix syntax error

This commit is contained in:
Pratik Vyas 2014-11-18 16:20:47 +05:30
parent 504a71fa68
commit 213299e9f6

View File

@ -34,7 +34,7 @@ def is_centos7():
def copy_default_nginx_config():
shutil.copy(os.path.join(os.path.dirname(__file__), 'templates', 'nginx_default.conf'), '/etc/nginx/nginx.conf')
def setup_production(bench='.', user):
def setup_production(user, bench='.'):
generate_supervisor_config(bench=bench, user=user)
generate_nginx_config(bench=bench)
remove_default_nginx_configs()