for some reason shell forgets settings, this works around temporarily fixes the problem, thanks Vladyslav Kozlovskyy

This commit is contained in:
mdipierro committed 2012-06-30 11:54:36 -05:00
1 parent 95c978b705
commit 0e8111a19e
5 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -361,7 +361,7 @@ def build_environment(request, response, session, store_current=True):
"""
Build the environment dictionary into which web2py files are executed.
"""
environment = {}
for key in html.__all__:
environment[key] = getattr(html, key)