typo in globals
This commit is contained in:
+1
-1
@@ -435,7 +435,7 @@ class Response(Storage):
|
|||||||
self._vars.update(b)
|
self._vars.update(b)
|
||||||
self._view_environment.update(self._vars)
|
self._view_environment.update(self._vars)
|
||||||
if view:
|
if view:
|
||||||
from gluon.compat import StringIO
|
from gluon._compat import StringIO
|
||||||
(obody, oview) = (self.body, self.view)
|
(obody, oview) = (self.body, self.view)
|
||||||
(self.body, self.view) = (StringIO(), view)
|
(self.body, self.view) = (StringIO(), view)
|
||||||
run_view_in(self._view_environment)
|
run_view_in(self._view_environment)
|
||||||
|
|||||||
Reference in New Issue
Block a user