Showing
1 changed file
with
1 additions
and
3 deletions
@@ -189,9 +189,7 @@ def Add_data_for_GUI_FrontEnds(INITIAL_TENDER_DATA): | @@ -189,9 +189,7 @@ def Add_data_for_GUI_FrontEnds(INITIAL_TENDER_DATA): | ||
189 | return INITIAL_TENDER_DATA | 189 | return INITIAL_TENDER_DATA |
190 | 190 | ||
191 | def local_path_to_file(file_name): | 191 | def local_path_to_file(file_name): |
192 | - path = os.getcwd() | ||
193 | - path = path.split("brokers", 1)[0] + "/src/op_robot_tests/op_robot_tests/tests_files/documents/" + file_name | ||
194 | - return path | 192 | + return os.path.join(os.path.dirname(__file__), 'documents', file_name) |
195 | 193 | ||
196 | ## E-Tender | 194 | ## E-Tender |
197 | def convert_date_to_etender_format(isodate): | 195 | def convert_date_to_etender_format(isodate): |
Please
register
or
login
to post a comment