mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-03-09 20:01:18 +00:00
py-i2phosts-master: use validate_config()
This commit is contained in:
parent
833b370d35
commit
c3a218978a
@ -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…
x
Reference in New Issue
Block a user