From 397ae8bbcd857582234923aea317d40cb5a52a30 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sat, 5 Jun 2010 16:53:48 +0100 Subject: [PATCH] show site name in error message if match failed --- pyfpdb/Filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index 15fccd1c..a5022508 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -88,7 +88,7 @@ class Filters(threading.Thread): if len(result) == 1: self.siteid[site] = result[0][0] else: - print "Either 0 or more than one site matched - EEK" + print "Either 0 or more than one site matched (%s) - EEK" % site # For use in date ranges. self.start_date = gtk.Entry(max=12)