Merge pull request #1425 from zvolsky/_plugin_failure
F redirect in admin/default/design (install of plugin)
This commit is contained in:
commit
fb0bca3709
1 file changed
+3
-3
@@ -1087,11 +1087,11 @@ def design():
|
||||
redirect(URL('design', args=app))
|
||||
else:
|
||||
session.flash = \
|
||||
T('unable to create application "%s"', request.vars.filename)
|
||||
redirect(URL(r=request))
|
||||
T('unable to install plugin "%s"', filename)
|
||||
redirect(URL(r=request, args=app))
|
||||
elif isinstance(request.vars.pluginfile, str):
|
||||
session.flash = T('plugin not specified')
|
||||
redirect(URL(r=request))
|
||||
redirect(URL(r=request, args=app))
|
||||
|
||||
# If we have only pyc files it means that
|
||||
# we cannot design
|
||||
|
||||
Reference in new issue
Block a user