소스 검색

Merge pull request #419 from pdvyas/agent-fixes

fix a blunder in update_site_config
version-14
Anand Doshi 11 년 전
부모
커밋
9cc283e842
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      webnotes/cli.py

+ 2
- 2
webnotes/cli.py 파일 보기

@@ -715,10 +715,10 @@ def update_site_config(site_config, verbose=False):
config = webnotes.get_site_config()
config.update(site_config)
site_config_path = site_filepath = os.path.join(webnotes.local.site_path, "site_config.json")
site_config_path = os.path.join(webnotes.local.site_path, "site_config.json")
with open(site_config_path, "w") as f:
json.dump(webnotes.conf.site_config, f, indent=1, sort_keys=True)
json.dump(config, f, indent=1, sort_keys=True)
webnotes.destroy()



불러오는 중...
취소
저장