Files
DEMOCICD/app/utils/file_utils.py

7 lines
160 B
Python
Raw Normal View History

import os
from app.config import Config
def ensure_upload_folder():
if not os.path.exists(Config.UPLOAD_FOLDER):
os.makedirs(Config.UPLOAD_FOLDER)