Merge branch 'master' of git://git.assembla.com/free_poker_tools

This commit is contained in:
Worros 2010-11-11 00:29:07 +08:00
commit c922f9cd2f
2 changed files with 4 additions and 4 deletions

View File

@ -358,9 +358,9 @@ class HUD_main(object):
log.info(_("HUD_main.read_stdin: hand read in %4.3f seconds (%4.3f,%4.3f,%4.3f,%4.3f,%4.3f,%4.3f)")
% (t6 - t0,t1 - t0,t2 - t0,t3 - t0,t4 - t0,t5 - t0,t6 - t0))
self.db_connection.connection.rollback()
if type == "tour":
tablewindow.check_table_no(None)
# Ray!! tablewindow::check_table_no expects a HUD as an argument!
# if type == "tour":
# tablewindow.check_table_no(None)
# # Ray!! tablewindow::check_table_no expects a HUD as an argument!
if __name__== "__main__":
# start the HUD_main object

View File

@ -46,7 +46,7 @@ class Table(Table_Window):
self.number = None
for listing in os.popen('xwininfo -root -tree').readlines():
if re.search(self.search_string, listing):
if re.search(self.search_string, listing, re.I):
mo = re.match('\s+([\dxabcdef]+) (.+):\s\(\"([a-zA-Z0-9\-.]+)\".+ (\d+)x(\d+)\+\d+\+\d+ \+(\d+)\+(\d+)', listing)
title = re.sub('\"', '', mo.group(2))
if self.check_bad_words(title): continue