Browse Source

修改名称

pull/6/head
ibuler 10 years ago
parent
commit
d7b2631410
  1. 0
      jump.py
  2. 0
      jumpserver.conf
  3. 2
      jumpserver/settings.py

0
connect.py → jump.py

0
jump.conf → jumpserver.conf

2
jumpserver/settings.py

@ -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')

Loading…
Cancel
Save