I'm working on a Python script where I'm using a function to return a list of items from a database. However, when I try to iterate over the returned list, I get the error "TypeError: 'NoneType' object is not iterable." I've checked the function, and...