From 25e03489fe834898c39b9beb45cb46e09440fede Mon Sep 17 00:00:00 2001 From: Eric Blade Date: Mon, 11 Oct 2010 22:23:06 -0400 Subject: [PATCH] fix error in logging mechanism, remove a debug print --- pyfpdb/Hud.py | 2 +- pyfpdb/TableWindow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 15a9e6de..94baaa55 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -404,7 +404,7 @@ class Hud: if self.hud_params['agg_bb_mult'] != num \ 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 for mult in ('1', '2', '3', '10', '10000'): if mult != str(num): diff --git a/pyfpdb/TableWindow.py b/pyfpdb/TableWindow.py index e3ec40de..31a94e3c 100644 --- a/pyfpdb/TableWindow.py +++ b/pyfpdb/TableWindow.py @@ -186,7 +186,7 @@ class Table_Window(object): mo = re.search(self.tableno_re, new_title) if mo is not None: - print "get_table_no: mo=",mo.groups() + #print "get_table_no: mo=",mo.groups() return mo.group(1) return False