dépôts
/
cavote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c48c6a
)
Debug
author
Guillaume Subiron
<maethor@subiron.org>
Tue, 29 May 2012 15:22:46 +0000
(17:22 +0200)
committer
Julien Rabier
<taziden@flexiden.org>
Tue, 29 May 2012 17:17:35 +0000
(19:17 +0200)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index
ac71277
..
298c721
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-214,7
+214,7
@@
def del_role(idrole):
def show_votes(votes):
today = date.today()
active_button = votes
- basequery = 'select *, roles.name as rolename from votes join roles on roles.id=votes.id_role where open=1'
+ basequery = 'select *, roles.name as rolename from votes join roles on roles.id=votes.id_role where
is_
open=1'
if votes == 'all':
votes = query_db(basequery + ' order by id desc')
elif votes == 'archive':