From ba7fcbcc1f4337a50435f66a2282032145bf92e9 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Tue, 14 Aug 2012 10:36:41 -0400 Subject: [PATCH] fix bugs in the update-participants.py move to the new config --- update-participants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5