[pyonionoo/master] Fix country parameter

commit db4194620e347b245974078dbc8f43248e5631b5 Author: Sathyanarayanan Gunasekaran <gsathya.ceg@gmail.com> Date: Fri Sep 21 23:30:33 2012 +0530 Fix country parameter --- pyonionoo/database.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pyonionoo/database.py b/pyonionoo/database.py index 1bc555b..b0aaae8 100644 --- a/pyonionoo/database.py +++ b/pyonionoo/database.py @@ -247,7 +247,7 @@ def query_summary_tbl(running_filter=None, type_filter=None, hex_fingerprint_fil if hex_fingerprint_filter: clauses.append("fingerprint = '%s'" % hex_fingerprint_filter) if country_filter: - clauses.append("country = '%s'" % country_filter) + clauses.append("country_code = '%s'" % country_filter) where_clause = ('WHERE %s' % ' and '.join(clauses)) if clauses else '' # Construct the ORDER, LIMIT, and OFFSET clauses.
participants (1)
-
karsten@torproject.org