ソースを参照

[minor] pass NotFound exception while making conf

version-14
Anand Doshi 11年前
コミット
7d1b9817c3
1個のファイルの変更6行の追加1行の削除
  1. +6
    -1
      webnotes/install_lib/install.py

+ 6
- 1
webnotes/install_lib/install.py ファイルの表示

@@ -178,8 +178,13 @@ class Installer:
def make_conf(db_name=None, db_password=None, site=None, site_config=None):
try:
from werkzeug.exceptions import NotFound
import conf
webnotes.init(site=site)
try:
webnotes.init(site=site)
except NotFound:
pass
if not site and webnotes.conf.site:
site = webnotes.conf.site


読み込み中…
キャンセル
保存