F redirect in admin/default/design (install of plugin)

This commit is contained in:
zvolsky
2016-08-16 13:28:29 +02:00
parent be5ddca28f
commit 16b11c7ef2
+2 -2
View File
@@ -1088,10 +1088,10 @@ def design():
else:
session.flash = \
T('unable to create application "%s"', request.vars.filename)
redirect(URL(r=request))
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