开发者

Python in Plone: trying to append a variable to RESPONSE.redirect

I have a python script in Plone, I'm having trouble appending a variable to RESPONSE.redirect. I get a invalid syntax error.

test = '1000'

RESPONSE.redirect(("/Plone/user_bla开发者_运维技巧st/public_blast_results/%s" % (test))


Its me being stupid, theres an extra bracket by redirect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜