From: Benjamin Mako Hill Date: Tue, 14 Aug 2012 14:36:41 +0000 (-0400) Subject: fix bugs in the update-participants.py move to the new config X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/ba7fcbcc1f4337a50435f66a2282032145bf92e9 fix bugs in the update-participants.py move to the new config --- 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)