log instead of logs dir
This commit is contained in:
parent
5db1c6f070
commit
3d587fb63d
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ def get_settings(key):
|
||||||
|
|
||||||
BASE_DIR = get_settings('BASE_DIR')
|
BASE_DIR = get_settings('BASE_DIR')
|
||||||
|
|
||||||
LOG_DIR = BASE_DIR / 'logs'
|
LOG_DIR = BASE_DIR / 'log'
|
||||||
if not os.path.exists(LOG_DIR):
|
if not os.path.exists(LOG_DIR):
|
||||||
os.makedirs(LOG_DIR)
|
os.makedirs(LOG_DIR)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue