Oct-02-2019, 06:08 AM
As I stated:
The new error is telling you that doc has never been assigned a value, so none of the conditionals are being called:
In other words, certificate is not equal to 'Audit_ESS' or 'IFRS_ESS'
add this statement after line 28:
Quote:None may cause an error if this happens, but at least you will know why.And that's exactly what is happening here.
The new error is telling you that doc has never been assigned a value, so none of the conditionals are being called:
In other words, certificate is not equal to 'Audit_ESS' or 'IFRS_ESS'
add this statement after line 28:
print(f"certificate: {certificate}")