optimize and add new service of get report and download report.
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
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