typo in globals

This commit is contained in:
ilvalle
2016-06-03 23:44:45 +02:00
parent 97eb013831
commit 2f7d76769c

View File

@@ -435,7 +435,7 @@ class Response(Storage):
self._vars.update(b)
self._view_environment.update(self._vars)
if view:
from gluon.compat import StringIO
from gluon._compat import StringIO
(obody, oview) = (self.body, self.view)
(self.body, self.view) = (StringIO(), view)
run_view_in(self._view_environment)