updated code by aakash
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import os
|
||||
from flask import current_app
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# BASE FOLDER Class
|
||||
# -----------------------------
|
||||
class FolderAndFile:
|
||||
|
||||
# -----------------------------
|
||||
# BASE FOLDER METHODS
|
||||
# -----------------------------
|
||||
@staticmethod
|
||||
def get_download_folder():
|
||||
folder = os.path.join(current_app.root_path, "static", "downloads")
|
||||
|
||||
Reference in New Issue
Block a user