move method from TourneyFilters to Filters
This commit is contained in:
parent
20ebd040c1
commit
c996a11ed6
|
@ -229,6 +229,10 @@ class Filters(threading.Thread):
|
||||||
return self.numHands
|
return self.numHands
|
||||||
#end def getNumHands
|
#end def getNumHands
|
||||||
|
|
||||||
|
def getNumTourneys(self):
|
||||||
|
return self.numTourneys
|
||||||
|
#end def getNumTourneys
|
||||||
|
|
||||||
def getSites(self):
|
def getSites(self):
|
||||||
return self.sites
|
return self.sites
|
||||||
#end def getSites
|
#end def getSites
|
||||||
|
|
|
@ -280,10 +280,6 @@ class TourneyFilters(Filters.Filters):
|
||||||
log.info("No tourney types returned from database")
|
log.info("No tourney types returned from database")
|
||||||
#end def fillTourneyTypesFrame
|
#end def fillTourneyTypesFrame
|
||||||
|
|
||||||
def getNumTourneys(self):
|
|
||||||
return self.numTourneys
|
|
||||||
#end def getNumTourneys
|
|
||||||
|
|
||||||
def getSeats(self):
|
def getSeats(self):
|
||||||
if 'from' in self.sbSeats:
|
if 'from' in self.sbSeats:
|
||||||
self.seats['from'] = self.sbSeats['from'].get_value_as_int()
|
self.seats['from'] = self.sbSeats['from'].get_value_as_int()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user