mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
correct s3 location and replace incorrect pashub link
This commit is contained in:
parent
545b93dc16
commit
ed885a6ab3
3 changed files with 4 additions and 2 deletions
Binary file not shown.
|
|
@ -113,7 +113,9 @@ def upload_job_to_s3_and_update_db(
|
||||||
return
|
return
|
||||||
|
|
||||||
base_path = (
|
base_path = (
|
||||||
f"documents/uprn/{uprn}" if uprn else f"documents/uprn/{hubspot_deal_id}"
|
f"documents/uprn/{uprn}"
|
||||||
|
if uprn
|
||||||
|
else f"documents/hubspot_deal_id/{hubspot_deal_id}"
|
||||||
)
|
)
|
||||||
|
|
||||||
uploaded_files: List[UploadedFile] = []
|
uploaded_files: List[UploadedFile] = []
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ if __name__ == "__main__":
|
||||||
)
|
)
|
||||||
|
|
||||||
wb = load_workbook(filepath, data_only=True)
|
wb = load_workbook(filepath, data_only=True)
|
||||||
ws = wb["filtered"]
|
ws = wb["filtered_2"]
|
||||||
|
|
||||||
HEADER_ROW = 3
|
HEADER_ROW = 3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue