show site name in error message if match failed

This commit is contained in:
sqlcoder 2010-06-05 16:53:48 +01:00
parent c265df2ffa
commit 397ae8bbcd

View File

@ -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)