diff --git a/Modules/Reports/ReportPathImpl.py b/Modules/Reports/ReportPathImpl.py index f17e256..f1f1875 100644 --- a/Modules/Reports/ReportPathImpl.py +++ b/Modules/Reports/ReportPathImpl.py @@ -1,10 +1,9 @@ import os -APP_NAME = 'guarantee-admin-api-v0.2' def get_project_abs_path(): file_abs_path = os.path.abspath(os.path.dirname(__file__)) - project_abs_path = file_abs_path[:file_abs_path.find(APP_NAME)+len(APP_NAME)] + project_abs_path = file_abs_path[:file_abs_path.find("Modules")] return project_abs_path diff --git a/requirements.txt b/requirements.txt index 0028e34..3bbb67f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,4 +11,6 @@ pycryptodome xlrd~=1.2.0 Werkzeug~=2.1.2 cpca~=0.5.5 -PyYAML~=6.0 \ No newline at end of file +PyYAML~=6.0 +numpy~=1.22.4 +reportlab~=3.6.10 \ No newline at end of file