From c56c44f8c086b73b5f1ba6b2132ece39487f5e76 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 18 Dec 2015 17:56:00 +0800 Subject: [PATCH] fix install bug --- install/install.py | 1 - install/next.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/install/install.py b/install/install.py index 617fb0a5b..74b5afb09 100644 --- a/install/install.py +++ b/install/install.py @@ -207,7 +207,6 @@ class PreSetup(object): self._input_mysql() self._input_smtp() self.write_conf() - os.chdir(jms_dir) os.system('python %s' % os.path.join(jms_dir, 'install/next.py')) diff --git a/install/next.py b/install/next.py index 5999b7b41..90a0789e6 100644 --- a/install/next.py +++ b/install/next.py @@ -15,7 +15,7 @@ if django.get_version() != '1.6': setup = django.setup() from juser.user_api import db_add_user, server_add_user -from connect import color_print +from install import color_print class Setup(object):