View Single Post
Old May 26th, 2006, 12:29 PM   #206
zem52887
Hobbyist Programmer
 
Join Date: May 2006
Posts: 127
Rep Power: 3 zem52887 is on a distinguished road
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?
zem52887 is offline   Reply With Quote