Browse Source

py-i2phosts-master: use validate_config()

pull/1/head
Hidden Z 14 years ago
parent
commit
c3a218978a
  1. 4
      py-i2phosts-master

4
py-i2phosts-master

@ -121,6 +121,10 @@ else: @@ -121,6 +121,10 @@ else:
sys.path.insert(1, DJANGO_PROJECT_PATH)
os.environ['DJANGO_SETTINGS_MODULE'] = DJANGO_SETTINGS_MODULE
from web.lib.utils import get_logger
from web.lib.utils import validate_config
# validate config
validate_config(config)
# configure logger
if args.debug == True:

Loading…
Cancel
Save