[Bugfix] 兼容py3

This commit is contained in:
ibuler
2017-04-07 19:11:27 +08:00
parent b913bce398
commit a320b9e05e
12 changed files with 21 additions and 24 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('python2.7 ./manage.py runserver %s:%s' % (http_host, http_port), shell=True)
subprocess.call('python ./manage.py runserver %s:%s' % (http_host, http_port), shell=True)
def start_celery():