Where and how is the list of functions to be called (corpus) defined? The 
mistake is obviously there as one of the values in corpus is not a function 
it's a None.  
  
Also if the functions sometimes return a None value (the error would be 
different but) you cannot join them like that since None is not a string so 
you need to do filter out the Nones with something like 
''.join(y for y in [x() for x in corpus] if y is not None)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to