quinta-feira, 8 de Fevereiro de 2018 às 19:49:52 UTC, Jordan Ladora
escreveu:
>
> Trying to get this to work but not getting anywhere-
>
> *from gluon import languages # EDITED from '*
>
>
>
>
>
> *from gluon import *'abc = languages.lazyT("abc")str(abc)abc.read()*...etc.
> keeps throwing-
>
> *AttributeError: 'NoneType' object has no attribute 'translate'*
> I have a library that expects a basestring object but w2p in that context
> returns a lazyT (this is for password reset using a commercial service as a
> mailer). Specifically, this is gluon/tools.py line 3637 - the 'message'
> param is a lazyT object and I need a string.
>
> Thanks,
> -j
>
>
--
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.