Pulls in Shipping Costs and adds them to column D in the report file.
This commit is contained in:
1
main.py
1
main.py
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user