UTF-8 decode participants list
This commit is contained in:
parent
6666300c93
commit
da35708096
|
@ -12,7 +12,7 @@ config=settings.load_settings()
|
||||||
x = xmlrpc.client.ServerProxy(config['xmlrpc_endpoint'])
|
x = xmlrpc.client.ServerProxy(config['xmlrpc_endpoint'])
|
||||||
page = x.wp.getPage(config['blog_id'], config['participants_page_id'], config['username'], config['password'])
|
page = x.wp.getPage(config['blog_id'], config['participants_page_id'], config['username'], config['password'])
|
||||||
|
|
||||||
text = render.render_template('templates/users.tmpl')
|
text = render.render_template('templates/users.tmpl').decode("utf-8")
|
||||||
page['description'] = text
|
page['description'] = text
|
||||||
|
|
||||||
x.wp.editPage(config['blog_id'], config['participants_page_id'], config['username'], config['password'],page,True)
|
x.wp.editPage(config['blog_id'], config['participants_page_id'], config['username'], config['password'],page,True)
|
||||||
|
|
Loading…
Reference in New Issue