aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bot/ircmeeting/agenda.py')
-rw-r--r--bot/ircmeeting/agenda.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/ircmeeting/agenda.py b/bot/ircmeeting/agenda.py
index 8b9650c..a77aafe 100644
--- a/bot/ircmeeting/agenda.py
+++ b/bot/ircmeeting/agenda.py
@@ -220,7 +220,8 @@ class Agenda(object):
def post_result(self):
if not self.conf.manage_agenda:
return('')
- data = urllib.quote(json.dumps([self._votes]))
+ data_dict = {'votes' : self._votes, 'agenda' : self._agenda}
+ data = urllib.quote(json.dumps(data_dict))
result_url = str.format(self.conf.result_url,
self.conf.voting_results_user,
self.conf.voting_results_password)