UTF-8 decode participants list

This commit is contained in:
Thomas Renger 2019-06-02 22:24:58 +02:00
parent 6666300c93
commit da35708096
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ config=settings.load_settings()
x = xmlrpc.client.ServerProxy(config['xmlrpc_endpoint'])
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
x.wp.editPage(config['blog_id'], config['participants_page_id'], config['username'], config['password'],page,True)