diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index 6c46d971..b7831e58 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -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