commit 68ce18f29bc64f1ce6c7dc387eed1efd1a0adf69
parent 9d97ed575d31778f082416de58a7484d0ee91894
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 20 Feb 2018 18:25:57 +0100
correct fix for checkboxes
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drime.py b/drime.py
@@ -34,8 +34,8 @@ def q():
d = {
'q': request.args.get('query').strip().lower(),
'nsyl': request.args.get('nsyl', ""),
- 'gender': request.args.get('gender', "off"),
- 'classical': request.args.get('classical', "off"),
+ 'gender': request.args.get('gender', False),
+ 'classical': request.args.get('classical', False),
'page': request.args.get('page'),
}
if not d['page']: