From fa3f07a63688d92ba2791b3b84729422c26fc091 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Thu, 26 Apr 2012 13:58:19 +0200 Subject: [PATCH] [wiki/macro/EventCalendar] Fixing bugs... Ignore-this: b5256ca57c2136c93585ef0568abf45f darcs-hash:20120426115819-bd074-5601c7ee5e859c88f15966c390833e3e30599c4b.gz --- wiki/macro/EventCalendar.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wiki/macro/EventCalendar.py b/wiki/macro/EventCalendar.py index 4da9eb61..249d5b03 100644 --- a/wiki/macro/EventCalendar.py +++ b/wiki/macro/EventCalendar.py @@ -1,3 +1,4 @@ +# -*- coding: iso-8859-1 -*- """ EventCalendar.py Version 0.99a July 22, 2009 @@ -267,7 +268,7 @@ def execute(macro, args): if args: args=request.getText(args) - for item in macro.form.items(): + for item in macro.request.form.items(): if not form_vals.has_key(item[0]): try: form_vals[item[0]]=item[1][0] @@ -318,7 +319,7 @@ def execute(macro, args): html.append( html_result ) html.append( showmenubar() ) - html.append( showpagelist() ) + html.append( show_page_list() ) if Params.showerror and Globs.errormsg: html.append(u'

    %s
' % Globs.errormsg)