fix error in logging mechanism, remove a debug print

This commit is contained in:
Eric Blade 2010-10-11 22:23:06 -04:00
parent fed287334a
commit 25e03489fe
2 changed files with 2 additions and 2 deletions

View File

@ -404,7 +404,7 @@ class Hud:
if self.hud_params['agg_bb_mult'] != num \ if self.hud_params['agg_bb_mult'] != num \
and getattr(self, 'aggBBmultItem'+str(num)).get_active(): and getattr(self, 'aggBBmultItem'+str(num)).get_active():
log.debug('set_opponent_aggregation', num) log.debug('set_opponent_aggregation %d', num)
self.hud_params['agg_bb_mult'] = num self.hud_params['agg_bb_mult'] = num
for mult in ('1', '2', '3', '10', '10000'): for mult in ('1', '2', '3', '10', '10000'):
if mult != str(num): if mult != str(num):

View File

@ -186,7 +186,7 @@ class Table_Window(object):
mo = re.search(self.tableno_re, new_title) mo = re.search(self.tableno_re, new_title)
if mo is not None: if mo is not None:
print "get_table_no: mo=",mo.groups() #print "get_table_no: mo=",mo.groups()
return mo.group(1) return mo.group(1)
return False return False