[tor-commits] [pyonionoo/master] Only search for beginning of nickname etc.
gsathya at torproject.org
gsathya at torproject.org
Tue Sep 25 11:15:15 UTC 2012
commit ec043e2b66af7d149e27d36077022b42dc1777e2
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Sun Sep 23 19:41:43 2012 +0200
Only search for beginning of nickname etc.
---
pyonionoo/database.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyonionoo/database.py b/pyonionoo/database.py
index 128ccae..a7d909b 100644
--- a/pyonionoo/database.py
+++ b/pyonionoo/database.py
@@ -204,7 +204,7 @@ def query_summary_tbl(running_filter=None, type_filter=None, hex_fingerprint_fil
clauses = []
if search_filter:
for filter in search_filter:
- clauses.append("search like '%%%s%%'" % filter)
+ clauses.append("search like '%% %s%%'" % filter)
if running_filter:
clauses.append("running = %s" % int(running_filter))
if type_filter:
More information about the tor-commits
mailing list