Pulls in Shipping Costs and adds them to column D in the report file.

This commit is contained in:
Dan Dembinski
2019-06-20 16:38:13 -04:00
parent 4d97c8aeb7
commit 2936897c6f

View File

@@ -135,7 +135,6 @@ def Run_Report(ticket, URL, HOST, REPORT_FIELDS, ws, wb):
y = bs(getShipping, "lxml") y = bs(getShipping, "lxml")
for w in y.find_all('fval'): for w in y.find_all('fval'):
shippingcost.append(float(w.text)) shippingcost.append(float(w.text))
print(shippingcost)
# Add Shipping Charge column. Set header and make bold # Add Shipping Charge column. Set header and make bold
ws.insert_cols(4) ws.insert_cols(4)