From 3d707135265afc27bd701d723b6de7e4632874f4 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Thu, 26 Apr 2012 15:32:00 +0200 Subject: [PATCH] [wiki/macro/EventCalendar.py] y avait des patches sur moinmo.in... Ignore-this: e96d9bc8d793fbbdcf911744abd8368c darcs-hash:20120426133200-bd074-52150bde7dd0c1878015e0be35e6f7c28316cb74.gz --- wiki/macro/EventCalendar.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/wiki/macro/EventCalendar.py b/wiki/macro/EventCalendar.py index 3a9b3683..e7a6a358 100644 --- a/wiki/macro/EventCalendar.py +++ b/wiki/macro/EventCalendar.py @@ -268,13 +268,11 @@ def execute(macro, args): if args: args=request.getText(args) - for item in macro.request.query_string.split('&'): - if item.strip(): - item = item.split('=') - if not form_vals.has_key(item[0]): - try: - form_vals[item[0]]=item[1] - except AttributeError: + for item in macro.request.values.items(): + if not form_vals.has_key(item[0]): + try: + form_vals[item[0]]=item[1] + except AttributeError: pass # PROCESSING ACTIONS ----------------------------------------