I can see your point though. And the input from Anthony. Let me work on the code again and try return a dict. The code is very long that's why I only took a snippet On Jun 1, 2016 8:10 PM, "Leonel Câmara" <leonelcam...@gmail.com> wrote:
What are you trying to do exactly? That code is an unreadable mess. The reason you're getting a blank page is that you only return if 'Filter' in stuff, since "stuff" is just one of the things you get when you run dir on class Filters (you have p=Filters and then you do dir(p)), and since that class has nothing with a "Filter" in its name on its __dict__ that is never true. Are you trying to program by coincidence <https://pragprog.com/the-pragmatic-programmer/extracts/coincidence> or something? -- 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 a topic in the Google Groups "web2py-users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/JeJEbqVpxKo/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.