[Bugfix] 修改一些bug

This commit is contained in:
ibuler
2017-03-04 16:38:26 +08:00
parent 7833fc8c80
commit ab62bfca7e
13 changed files with 92 additions and 71 deletions

View File

@@ -23,7 +23,7 @@ def start_django():
http_port = CONFIG.HTTP_LISTEN_PORT or '8080'
os.chdir(apps_dir)
print('start django')
subprocess.call('python ./manage.py runserver %s:%s' % (http_host, http_port), shell=True)
subprocess.call('python2.7 ./manage.py runserver %s:%s' % (http_host, http_port), shell=True)
def start_celery():