[Tutor] Only appending one object to list, when I am expecting more than 1

Tobiah toby at tobiah.org
Tue Feb 26 11:23:29 EST 2019



On 2/26/19 6:39 AM, AdamC wrote:
> Sorry folks - my code didn't work due to my debug var count to ensure that
> I was looping properly.
> 
> It should be:

As was pointed out, the problem is not in your code.  It's in your
data.  You only have one record with a proper 'tpe' value, so that's
all you get in your media list.


Toby


More information about the Tutor mailing list