log instead of logs dir

This commit is contained in:
Sayyid Hamid Mahdavi 2026-04-11 15:43:37 +03:30
parent 5db1c6f070
commit 3d587fb63d

View file

@ -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)