fix a type error in web/web.py

This commit is contained in:
CuiZhicheng 2018-03-01 15:14:53 +08:00
parent d848afc523
commit 730a6888b8
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ if __name__ == '__main__':
try:
open_registryfile = open(env.getenv('FS_PREFIX') + '/local/settings.conf')
settings = jsobn.loads(open_registryfile.read())
settings = json.loads(open_registryfile.read())
open_registryfile.close()
os.environ['OPEN_REGISTRY'] = settings.get('OPEN_REGISTRY',"False")
except: