diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2011-06-20 17:04:22 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2011-06-25 14:12:13 +0200 |
commit | ceefa3bdcd2c65bf858c593c52cd84c4175e00bd (patch) | |
tree | caa17064819edcf6904bb3ce2a8d3ce43ef452a4 | |
parent | Merge remote-tracking branch 'github/time_limit' (diff) | |
download | council-webapp-ceefa3bdcd2c65bf858c593c52cd84c4175e00bd.tar.gz council-webapp-ceefa3bdcd2c65bf858c593c52cd84c4175e00bd.tar.bz2 council-webapp-ceefa3bdcd2c65bf858c593c52cd84c4175e00bd.zip |
Bot sends information about voting options changes to web application
-rw-r--r-- | bot/Reminder/conf/channels.conf | 0 | ||||
-rw-r--r-- | bot/Reminder/conf/ignores.conf | 0 | ||||
-rw-r--r-- | bot/Reminder/conf/userdata.conf | 0 | ||||
-rw-r--r-- | bot/Reminder/conf/users.conf | 0 | ||||
-rw-r--r-- | bot/ircmeeting/agenda.py | 3 |
5 files changed, 2 insertions, 1 deletions
diff --git a/bot/Reminder/conf/channels.conf b/bot/Reminder/conf/channels.conf new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bot/Reminder/conf/channels.conf diff --git a/bot/Reminder/conf/ignores.conf b/bot/Reminder/conf/ignores.conf new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bot/Reminder/conf/ignores.conf diff --git a/bot/Reminder/conf/userdata.conf b/bot/Reminder/conf/userdata.conf new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bot/Reminder/conf/userdata.conf diff --git a/bot/Reminder/conf/users.conf b/bot/Reminder/conf/users.conf new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bot/Reminder/conf/users.conf 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) |