You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As python 3 doesn't return a list for dict.keys() and .values() methods. Generic.html throws: TypeError: 'dict_values' object does not support indexing
Caused by line 10 of generic.html. Can be fixed by wrapping the method call in a list() function. {{=BEAUTIFY(list(response._vars.values())[0])}}
Python 3.7
Web2py 2.17
The text was updated successfully, but these errors were encountered:
As python 3 doesn't return a list for dict.keys() and .values() methods. Generic.html throws:
TypeError: 'dict_values' object does not support indexing
Caused by line 10 of generic.html. Can be fixed by wrapping the method call in a list() function.
{{=BEAUTIFY(list(response._vars.values())[0])}}
Python 3.7
Web2py 2.17
The text was updated successfully, but these errors were encountered: