republique

helper scripts for www.republique-numerique.fr
git clone https://a3nm.net/git/republique/
Log | Files | Refs | README

commit 1fb48a6363190f00e8677b1556c53391fb5d2038
parent 50e487e6ed56d98ba329ef1187c65760c8e15255
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu, 15 Oct 2015 12:16:37 +0100

total votes for arguments

Diffstat:
stdump.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stdump.py b/stdump.py @@ -40,7 +40,7 @@ def parse(j, i, key, idF): votes_ok = j['votes_count'] votes_mitige = 0 votes_nok = 0 - votes_total = 0 + votes_total = j['votes_count'] url = j['_links']['show'] try: body = html.unescape(j['title']).split('\n')[0]