修改名称

pull/6/head
ibuler 2014-12-24 22:21:46 +08:00
parent e66b1b4192
commit d7b2631410
3 changed files with 1 additions and 1 deletions

0
connect.py → jump.py Executable file → Normal file
View File

View File

@ -15,7 +15,7 @@ import ConfigParser
config = ConfigParser.ConfigParser() config = ConfigParser.ConfigParser()
BASE_DIR = os.path.dirname(os.path.dirname(__file__)) BASE_DIR = os.path.dirname(os.path.dirname(__file__))
config.read(os.path.join(BASE_DIR, 'jump.conf')) config.read(os.path.join(BASE_DIR, 'jumpserver.conf'))
DB_HOST = config.get('db', 'host') DB_HOST = config.get('db', 'host')
DB_PORT = config.getint('db', 'port') DB_PORT = config.getint('db', 'port')