From 14053b99421ee79c0625b0fcb0043b255d042047 Mon Sep 17 00:00:00 2001 From: gimick Date: Thu, 24 Feb 2011 22:24:37 +0000 Subject: [PATCH] filters: fix traceback - declare self.num_limit_types when filters class is initialised --- pyfpdb/Filters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index d707640c..b3a17324 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -158,6 +158,7 @@ class Filters(threading.Thread): self.rb = {} # radio buttons for ring/tour self.type = None # ring/tour self.types = {} # list of all ring/tour values + self.num_limit_types = 0 self.fillLimitsFrame(vbox, self.display) limitsFrame.add(vbox)