📚 Improved code organization and structure in backend modules 🚧🔧
This commit is contained in:
@@ -45,7 +45,7 @@ class FileManager:
|
||||
|
||||
def __init__(self, base_upload_folder: str = None):
|
||||
try:
|
||||
from utils.settings import UPLOAD_FOLDER, ALLOWED_EXTENSIONS
|
||||
from utils.utilities_collection import UPLOAD_FOLDER, ALLOWED_EXTENSIONS
|
||||
self.base_folder = base_upload_folder or UPLOAD_FOLDER
|
||||
self.allowed_extensions = ALLOWED_EXTENSIONS
|
||||
except ImportError:
|
||||
|
Reference in New Issue
Block a user