hello one and all,

its been a while since i've been on here.  that is a good sign for my sites 
have been working great.  love python and web2py.  ok, so, i'm slowing 
porting to python 3.8 from 2.7.  still constant on web2py 2.20.4.  do i had 
some code under a controller that looks like:

response.meta.keywords += (', '+c.keywords if c.keywords else "")

and it errors saying that "TypeError(unsupported operand type(s) for +=: 
'map' and 'str')".  after a bit of investigation i found 
that response.meta.keywords is of type "map" instead of it used to being a 
string.  i'm obviously concatenating strings above.

what the heck is type "map" and how's that work with keywords?

lucas

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/4c8e770f-cb1c-44b9-9e07-e2faff299385n%40googlegroups.com.

Reply via email to