added tests for py36

This commit is contained in:
ilvalle committed 2017-03-06 21:35:23 +01:00
1 parent 16f60d5cff
commit ad421e42c6
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -317,7 +317,7 @@ def load(routes='routes.py', app=None, data=None, rdict=None):
symbols = dict(app=app)
try:
exec(data + '\n', symbols)
exec(data, symbols)
except SyntaxError as e:
logger.error(
'%s has a syntax error and will not be loaded\n' % path