|
Okay I understand the changes for some reason I thought I had to assign len(highlights) to a variable as opposed to having it function on it's own. That's why I was having problems deciding what to do with the "N/A" and "fhighlights", they needed to be output to a variable, not printed or just left hanging in space.
As for the company_url changes, does that need to be defined? If I'm running this function in isolation it doesn't know what company_url is, no? or are these proposed changes for the actual script -- not the test script?
Finally, I seem to encounter this error a lot:
output += "<td>" + companyprofile + "</td>"
TypeError: 'NoneType' object is not callable
could you remind me as to what it means so I can try troubleshooting it?
|