Skip to content

Commit

Permalink
Add current week for "skipped" tag calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosblog committed Feb 11, 2013
1 parent 9eda102 commit d614751
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update-participants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import xmlrpclib
import subprocess
import settings
from datetime import datetime

config=settings.load_settings()

Expand All @@ -19,7 +20,7 @@
x = xmlrpclib.ServerProxy(config['xmlrpc_endpoint'])
page = x.wp.getPage(config['blog_id'], config['participants_page_id'], config['username'], passwd)

text = render.render_template('templates/users.tmpl')
text = render.render_template('templates/users.tmpl',datetime.now().strftime("%Y/%m/%d"))
page['description'] = text

x.wp.editPage(config['blog_id'], config['participants_page_id'], config['username'], passwd,page,True)

0 comments on commit d614751

Please sign in to comment.