added tests for py36
This commit is contained in:
1 parent
16f60d5cff
commit
ad421e42c6
3 files changed
+4
-3
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user