fixed print in template

This commit is contained in:
mdipierro
2019-01-01 18:28:24 -08:00
parent 1fff3fc237
commit 5e0f6c19bf
2 changed files with 1 additions and 2 deletions

View File

@@ -23,7 +23,6 @@ try:
import pydal
sys.modules['pydal'] = pydal
except ImportError:
raise
raise RuntimeError(
"web2py depends on pydal, which apparently you have not installed.\n" +
"Probably you cloned the repository using git without '--recursive'" +
@@ -32,6 +31,7 @@ except ImportError:
"You can also download a complete copy from http://www.web2py.com."
)
from .globals import current
from .html import *
from .validators import *

View File

@@ -1006,4 +1006,3 @@ if __name__ == '__main__':
def test():
return dict(a=3)
assert test() == '<div>0</div><div>1</div><div>2</div>'
print 'ok'