X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/6453bb4008557655500c8c3d42db48014b484c47..75d0eb84c338241521bdbb5c4ce449236f3a400d:/update-participants.py?ds=sidebyside diff --git a/update-participants.py b/update-participants.py index 29b002c..b3d0c2b 100755 --- a/update-participants.py +++ b/update-participants.py @@ -6,7 +6,7 @@ import sys import xmlrpclib import subprocess -import config +from config import * try: subprocess.call(['stty', '-echo']) @@ -21,4 +21,4 @@ page = x.wp.getPage(BLOG_ID, PARTICIPANTS_PAGE_ID, USER, passwd) text = render.render_template('templates/users.tmpl') page['description'] = text -x.wp.editPage(BLOG_ID, PAGE_ID, USER, passwd, page, True) +x.wp.editPage(BLOG_ID, PARTICIPANTS_PAGE_ID, USER, passwd, page, True)